cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re-using SFTP connection and CURLOPT_FTP_CREATE_MISSING_DIRS issue

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 12 Mar 2008 22:56:57 +0100 (CET)

On Wed, 12 Mar 2008, Brian Ulm wrote:

> The command sequence is:
> 1.) Initialize CURL handle.
> 2.) Setup CURL options (including CURLOPT_FTP_CREATE_MISSING_DIRS)
> 3.) Upload File #1
> 4.) Call curl_easy_reset();
> 5.) Setup the same CURL options (including CURLOPT_FTP_CREATE_MISSING_DIRS)
> 6.) Upload File #2

Why do the curl_easy_reset()? But more importantly, does it work if you don't
do it?

Does this libcurl version have the previous two SFTP patches I provided
applied?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-12