curl-library
Re: [PATCH] a new option WILDCARDMATCH (FTP only for now)
Date: Tue, 30 Mar 2010 10:06:59 +0200
On Tuesday 30 of March 2010 05:09:44 Ben Greear wrote:
> It seems to me that it would be best to just allow passing the file list
> back to the user and let them parse it and then make individual
> requests for files as desired.
Parsing of the file list is protocol-specific, though not properly
standardized AFAIK. I think such ability of libcurl may be useful
for some class of applications.
> What's the advantage of putting all of this into libcurl?
Though the patch is not tiny, major part of the code is the mentioned
parser. As for the public libcurl API I don't think it is that
intrusive. Beyond the specific task, it introduces a new interface
for processing more objects per one URL, which may also be used by
some other protocols in future.
Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-30