NYCPHP Meetup

NYPHP.org

[nycphp-talk] Deleting/overwriting a remote file

Adam Maccabee Trachtenberg adam at trachtenberg.com
Wed Dec 1 19:38:58 EST 2004


On Wed, 1 Dec 2004, Fan, Wellington wrote:

> Hmmm...seemed likely, but couldn't see any CURLOPTS that would perform an
> FTP DELETE. I saw CURLOPT_CUSTOMREQUEST that might allow me to build a HTTP
> DELETE, but there's no webserver on my target machine.

I believe the cURL default FTP behavior is to overwrite, which I think
was what you wanted.

> Anyway, no big deal. My client has decided to do things differently so this
> is no longer an issue.

Perfect. :)

> Thanks for your help. And BTW, the PHP Cookbook is great!

No problem. Glad you like the book.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list