cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP and Deleting files, libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 30 Sep 2012 16:18:38 +0200

On Sat, Sep 29, 2012 at 11:49:23PM +0100, JULIAN GARDNER wrote:
> There are 50000 files and i need to delete a specific range in the middle but
> what im seeing is that curl quits on the 1st file that does not exist, and
> there are gaps int the sequential files.

To quote http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTQUOTE

        When speaking to a FTP (or SFTP since 7.24.0) server, prefix the command
        with an asterisk (*) to make libcurl continue even if the command fails
        as by default libcurl will stop at first failure.

Note that this mailing list is for questions about the curl tool;
libcurl questions should go to the curl-library list.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-30