| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: ftp enhancement - FTP wildcard download
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Jan 2010 23:42:03 +0100 (CET)
On Wed, 27 Jan 2010, Pavel Raiskup wrote:
> First of all I'd like to ask you if there is a big problem with source size
In general, no. But all added code adds to the amount of code we need to read
> I know, that it is possible improve library without recoursive and
Possibly, but with recursion you also get more features. Perhaps an app wants
If we can't offer these features, we may end up in a situation where all apps
I'm not saying it has to become like this, I'm only saying we need to think
> Next I really considering to parse LIST response. Even if we discard the
Yes, I think you're right. It will make it less good if it treats everything
I guess it will also make it a better function if it knows the total size of
> And the multiple-calling curl_easy_perform idea -- it could be a little
Inconsistent, yes. But so is calling the write function with contents from
> int wildcard_callback(char *matchedstring, FILE *f, int filetype)
As Kamil Dudka brought up: FILE *f is really not the right type to pass to a
I also miss total number of files and total size of all files (which you
I also like a differe error code usage. Just using TRUE/FALSE tends to end up
> Question is where to close "FILE *f" when it is changing.
The wildcard callback is called before each transfer so it would basically say
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-01-28 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info