cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Delete downloaded files after using wildcard ftp download

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Apr 2013 13:43:55 +0200 (CEST)

On Tue, 2 Apr 2013, Steven Erdmanczyk Jr. wrote:

> I have an operation that downloads a directory using the ftp wildcard
> feature similar to below. Is it possible to add a command using
> CURLOPT_POSTQUOTE or some other feature that will make libcurl automatically
> send a delete request to the server for each file after it is downloaded?

Not for each file, no. POSTQUOTE is there to send operations before returning
in a *perform() call.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-08