cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to delete file using curl

From: Sebastien WILLEMIJNS <sebastien_at_willemijns.com>
Date: Fri, 07 Nov 2008 14:49:42 +0100

On Fri, 07 Nov 2008 17:35:38 +0530, "Jayalakshmi"
<jaya_at_innovatesolutions.net> said:
> hi all,
> I am using curl for web-server application and I am at client side. I
> want to delete file and upload new file using curl command. I tried
> uploading file like this
>
> curl -T hi.c http://username:password@192.163.1.90/
>
> and i got it.
>
> 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 ?!
-------------------------------------------------------------------
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