cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Brain-fart question...

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 10 Aug 2007 22:56:45 -0700

On Fri, Aug 10, 2007 at 10:18:37PM +0200, Emil Romanus wrote:
> To list an FTP directory, simple set the URL to the wanted directory and then
> call curl_easy_perform. You will then have to parse the output yourself.

You could also use the --request NLST option (a.k.a. CURLOPT_CUSTOMREQUEST)
and make parsing a lot easier (and portable), although all you get then
is the name.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-08-11