cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Trouble getting a directory listing before uploading a file

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 31 May 2005 09:01:29 +0200 (CEST)

On Mon, 30 May 2005, James Housley wrote:

>> Why is that messy?

> Only messy because the server MOTD will show up three times.

No it shouldn't. libcurl reuses connections and thus you won't disconnect and
connect between the transfers.

>> With libcurl, the whole API is designed to do one transfer for each call to
>> curl_easy_perform(). Each dir listing means a transfer.
>
> Are you saying I could get what I want with multi-? Or is that just
> multiple easy- and not get me more.

No, the multi interface has the same paradigm in that aspect.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-31