curl-users
[ curl-Bugs-462249 ] Blocking on ftp to localhost
Date: Mon, 17 Sep 2001 07:32:29 -0700
Bugs item #462249, was opened at 2001-09-17 07:32
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=462249&group_id=976
Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Blocking on ftp to localhost
Initial Comment:
OS : Linux, Red Hat 6.2
libcurl v 7.8.1
ProFTP 1.2.2rc2
In the example 'ftpget.c', a replace the URL by
ftp://user:passwd@localhost:21/dir/file
and the program never stops. (Some rare times, it
works)
With curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
the output is :
< 220 ProFTPD 1.2.2rc2 Server (ProFTPD Default
Installation) [..]
> USER user
> PASS passwd
< 230 User user logged in.
* We have successfully logged in
> PWD
< 257 "/" is current directory.
* Entry path is '/'
* Connected to localhost (127.0.0.1)
> CWD dir
< 250 CWD command successful.
> PASV
< 227 Entering Passive Mode (127,0,0,1,7,147).
* Connecting to localhost (127.0.0.1) port 1939
* Connected the data stream!
> TYPE I
< 200 Type set to I.
> RETR file
< 150 Opening BINARY mode data connection for file (128
bytes).
* Getting file with size: 128
And nothing else.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=462249&group_id=976
Received on 2001-09-17