cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: recursive ftp delete with curl

From: G. T. Stresen-Reuter <tedmasterweb_at_gmail.com>
Date: Sat, 18 Apr 2009 13:05:28 +0100

On Apr 18, 2009, at 12:40 PM, Cyber Core wrote:

> Hi,
>
> Could anyone give a practical example how to delete all the files from
> a directory, using CURLOPT_QUOTE?
>
> With "DELE" command you can delete 1 file at the time, wildcards
> cannot be used so I guess at the end you are about to do something
> like fetch the remote file list and store it in an array or something
> then issue "DELE <filename>" X times.

That's what I do, but from a shell script using the command line cURL.

CURLOPT_QUOTE sounds like a libcurl thing and this is the cURL command
line list. You might get better responses on the other list.

Ted Stresen-Reuter

-------------------------------------------------------------------
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 2009-04-18