cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1696795 ] get empty file twice from ftp

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 09 Apr 2007 12:06:23 -0700

Bugs item #1696795, was opened at 2007-04-09 02:06
Message generated for change (Comment added) made by dfandrich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1696795&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: bad behaviour
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: mytx (mytx)
Assigned to: Daniel Stenberg (bagder)
Summary: get empty file twice from ftp

Initial Comment:
When i get empty file twice from ftp, curl have looped.

I have installed curl-7.16.0 like tis:
curl 7.16.0 (i686-pc-linux-gnu) libcurl/7.16.0 OpenSSL/0.9.7f zlib/1.2.2.2
libidn/0.5.15
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN Largefile NTLM SSL libz

when Using the as following:
curl ftp://user:password@myftpsite.com/empty-file1 ftp://user:password@myftpsite.com/empty-file2 -v
******* -T need_upload_file -v

And get debug information:
.....
> TYPE I
* FTP 0x8077350 state change from STOP to RETR_TYPE
< 200 Switching to Binary mode.
> SIZE 2
* FTP 0x8077350 state change from RETR_TYPE to RETR_SIZE
< 213 1
> RETR 2
* FTP 0x8077350 state change from RETR_SIZE to RETR
< 150 Opening BINARY mode data connection for 2 (1 bytes).
* Maxdownload = -1
* Getting file with size: 1
* FTP 0x8077350 state change from RETR to STOP
* DO-MORE phase ends with 0
< 226 File send OK.
* Connection #0 to host 9.186.13.98 left intact
* Examining connection #0 for reuse
* Re-using existing connection! (#0) with host 9.186.13.98
* Connected to 9.186.13.98 (9.186.13.98) port 21 (#0)
* DO phase starts
.....
.....
> SIZE 2
* FTP 0x8077350 state change from RETR_TYPE to RETR_SIZE
< 213 1
> RETR 2
* FTP 0x8077350 state change from RETR_SIZE to RETR
< 150 Opening BINARY mode data connection for 2 (1 bytes).
* Maxdownload = -1
* Getting file with size: 1
* FTP 0x8077350 state change from RETR to STOP
* DO-MORE phase ends with 0
< 226 File send OK.
* Connection #0 to host 9.186.13.98 left intact
* Examining connection #0 for reuse
* Re-using existing connection! (#0) with host 9.186.13.98
* Connected to 9.186.13.98 (9.186.13.98) port 21 (#0)
* DO phase starts
.....
.....
> SIZE 1
* FTP 0x8077350 state change from RETR_TYPE to RETR_SIZE
< 213 0
> RETR 1
* FTP 0x8077350 state change from RETR_SIZE to RETR
< 150 Opening BINARY mode data connection for 1 (0 bytes).
* Maxdownload = -1
* Getting file with size: 0
* FTP 0x8077350 state change from RETR to STOP
* DO-MORE phase ends with 0
* Connection died, retrying a fresh connect
< 226 File send OK.
* Issue another request to this URL: 'ftp://mytx:233664@9.186.13.98/1'
* Examining connection #0 for reuse
* Re-using existing connection! (#0) with host 9.186.13.98
* Connected to 9.186.13.98 (9.186.13.98) port 21 (#0)
* DO phase starts
.....
.....

----------------------------------------------------------------------

>Comment By: Dan Fandrich (dfandrich)
Date: 2007-04-09 12:06

Message:
Logged In: YES
user_id=236775
Originator: NO

Duplicate of bug #1618359

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1696795&group_id=976
Received on 2007-04-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET