cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with a particular ftp-server

From: Guido Neitzer <guido.neitzer_at_pharmaline.de>
Date: Tue, 19 Mar 2002 09:46:25 +0100

Hi.

> Ugha. This looks really weird. Is this curl 7.9.5?

  No:

2002-03-19 09:40:18.011 MirrorX[2130] libcurl version is: libcurl 7.9.2

  I have to update to the latest version - but this is every time hard
work for me on Mac OS X ... ;-(

> What did curl_easy_perform() return here? Were you using a timeout or
> something?

  It returns nothing my commands are:

--------------------------------schnipp---------------------------------
NSLog (@"libcurl version is: %@", [NSString stringWithCString:
curl_version()]);

curl_easy_setopt (curl, CURLOPT_URL, [path cString]);
curl_easy_setopt (curl, CURLOPT_USERPWD, [login cString]);
curl_easy_setopt (curl, CURLOPT_FILE, directory);
curl_easy_setopt (curl, CURLOPT_FTPLISTONLY, 0);
curl_easy_setopt (curl, CURLOPT_VERBOSE, 1);

res = curl_easy_perform (curl);
--------------------------------schnipp---------------------------------

> It clearly looks like it disconnected just after the PASV response,

  No, it waits, and waits, and waits ... and then disconnects.

> of course shouldn't. I check the code right now and I fail to see how
> this
> can happen without any error message getting output! ;-/

  It get the following result code from libcurl:

2002-03-19 09:45:20.703 MirrorX[2130] curl result: CURLE_COULDNT_CONNECT

  Okay, I will try to compile and include the latest version of libcurl

cug
Received on 2002-03-19