View Single Post
Old 06-26-2002, 05:32 PM  
Lemming
Junior Member
 
Join Date: Jun 2002
Posts: 3
Thumbs up *Please* include this feature

I sometimes have problems FXPing and I believe they are caused by the RETR coming before the STOR... Files are erased instead of resumed and/or no data is transferred at all.. It might be due to strange/buggy ftp server software, but if I manually enter all commands but putting the STOR before the RETR, it works fine...

Quote:
(1) TYPE I
(1) 200 Type set to I.
(2) TYPE I
(2) 200 Type set to I.
(2) PASV
(2) 227 Entering Passive Mode (1,2,3,4,107,164)
(1) PORT 1,2,3,4,107,164
(1) 200 PORT Command successful.
(1) REST 43656192
(1) 350 Restarting at 43656192 - send STORE or RETRIEVE to initiate transfer.
(1) RETR large file.dat
(1) 150 Opening BINARY mode data connection for large file.dat (93335552 bytes).
(2) REST 43656192
(2) 350 Restarting at byte offset 43656192. Send STORE or RETRIEVE to initiate transfer.
(2) STOR large file.dat
(2) 125 Ready to receive "large file.dat" . Mode STREAM Type BINARY.
Resets size on server 2 to zero and nothing is transferred


But when I manually enter following commands (same as first but different order):
Quote:
(1) TYPE I
(1) 200 Type set to I.
(2) TYPE I
(2) 200 Type set to I.
(2) PASV
(2) 227 Entering Passive Mode (1,2,3,4,107,165)
(1) PORT 1,2,3,4,107,165
(1) 200 PORT Command successful.
(2) REST 43656192
(2) 350 Restarting at byte offset 43656192. Send STORE or RETRIEVE to initiate transfer.
(2) STOR large file.dat
(2) 125 Ready to receive "large file.dat" . Mode STREAM Type BINARY.
(1) REST 43656192
(1) 350 Restarting at 43656192 - send STORE or RETRIEVE to initiate transfer.
(1) RETR large file.dat
(1) 150 Opening BINARY mode data connection for large file.dat (93335552 bytes).
File is transferred correctly
Lemming is offline