curl-library
Re: libcurl FTP - directory listing by file mask
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 28 Mar 2008 09:16:00 -0700
Date: Fri, 28 Mar 2008 09:16:00 -0700
On Fri, Mar 28, 2008 at 04:39:24PM +0100, Daniel Stenberg wrote:
> Right, but I would also guess that ftp servers will treat those
> wildcards/patterns differently since they aren't defined in any standard
> either. Thus, you might end up more or less forced to do the pattern
> matching locally just to be sure on how it is made given the list of files
> the server claims is there.
>
> However, this is just my guess.
That's what I assume, too, but this is something that makes sense to
leave server-dependent. If a server supports (hypothetically :^) SQL
statements to obtain a very fine grained view of the directory listings,
curl shouldn't download the entire thing and allow only simple * and
? globbing.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-03-28