curl-library
ftp connect exception error
Date: Tue, 15 Mar 2005 11:38:12 +0000
Hello everybody
I have been using libcurl for some time and it worked very well. Yet i just
found a bug(maybe)
I used libcurl to connect the ftp, every site is fine except this:
ftp://218.91.214.51
this is a piece of my code...
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 15);
curl_easy_setopt(curl, CURLOPT_URL, addr);
ret = curl_easy_perform( curl );
in the curl_easy_perform, it says there is an unhandled exception in
libcurl.
i used the flashfxp to connect and get the following response:
Connecting to 218.91.214.51
Connected to 218.91.214.51 -> IP=218.91.214.51 PORT=21
220 CesarFTP 0.99g Server Welcome !
USER anonymous
331 User login OK, waiting for password
PASS (hidden)
230 User password OK, CesarFTP server ready
SYST
215 Microsoft Windows
REST 100
350 Restarting at 100, send RETR or STOR command to start transfer
REST 0
350 Restarting at 0, send RETR or STOR command to start transfer
CWD /
250 Directory change OK
PWD
257 "/"
TYPE A
200 Type successfully set
PASV
227 Entering Passiv Mode (1218,91,214,51,8,55)
Data Socket Error: Cannot resolve host name
so i guess libcurl do not handle this exception well.
my enviroment is: Win2K3 + VC6.0 SP5 + libcurl 7.13.0
And thanks for the response.
_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/
Received on 2005-03-15