cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: list ftp directory

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Dec 2001 16:32:25 +0100 (MET)

On Mon, 17 Dec 2001, raoul cridlig wrote:

> How to save list in memory ?
>
> curl_easy_setopt(curl,CURLOPT_FTPLISTONLY, 1);
> curl_easy_setopt(curl,CURLOPT_URL, remotURL);
> curl_easy_perform(curl);

Read FAQ entry 5.2, available here:

 http://curl.haxx.se/docs/faq.shtml

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-12-17