cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to delete file using curl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 7 Nov 2008 07:48:26 -0800

On Fri, Nov 07, 2008 at 02:49:42PM +0100, Sebastien WILLEMIJNS wrote:
> On Fri, 07 Nov 2008 17:35:38 +0530, "Jayalakshmi"
> > But how to do delete a file using curl command ? please any knows about
> > this ? give me solution.
>
> curl -Q "-DELE %1" ftp://user:password@ftp.whatyouwant.com ?!

Some HTTP servers allow something similar using '--request DELETE' instead
of -Q.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-07