cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question on using libcurl for FTP.

From: Wei Weng <wweng_at_kencast.com>
Date: Mon, 23 Jun 2003 21:30:50 -0400

On 24/06/03 01:26 +0200, Daniel Stenberg wrote:
> On Mon, 23 Jun 2003, Wei Weng wrote:
>
> > Is it possible to implement a CURLOPT_RECURSIVE_DIR or CURLOPT_PATTERNMATCH
> > to faciliate this usage? It could be immensely helpful.
>
> It would be possible, but out of what libcurl provides.
>
> 1. libcurl doesn't interpret data contents, which this would require.
> 2. libcurl only transfers one file at a time
>
> So if this functionality would be written by someone, it would certainly make
> a nice add-on to libcurl, but not be incorporated into it.
>
> --
> Daniel Stenberg -- curl: been grokking URLs since 1998
>
Thanks, dan. Just one more quick question, since I am a newbie to libcurl.
:) How do you obtain a FTP directory listing? By issuing a LIST command? If
that is the case, how do you return the content obtained by the LIST command?

Thanks

Wei

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-06-28