cURL / Mailing Lists / curl-library / Single Mail

curl-library

ftp enhancement - FTP wildcard download

From: Pavel Raiskup <xraisk00_at_gmail.com>
Date: Tue, 22 Dec 2009 15:33:27 +0100

Hi, we were consulting
http://curl.haxx.se/docs/todo.html#ftp_wildcard_download on IRC.

I would like to make some work on TODO 11.5
http://curl.haxx.se/docs/todo.html#ftp_wildcard_download

I propose to extend libcurl of about new callback function, which can be
called on start/end of downloading
concrete file. Setting url should stay unchanged, not breaking the
backward compatibility.

Callback function should process file name and should be able to (for
example) create file on local
filesystem - same name as downloaded file has.

Would anybody object if I implemented it this way? This is only concept
and advices are welcome.

Pavel
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-22