Hello again, is there anybody who can tell me something about this issue? Is it a bug or a feature?
Thanx and best regards Stefan. On 11/1/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
Hello, I'm using lftp (old version 3.2.1) for a longer time without problems, and now I have updated to version 3.5.6 but found a problem (bug?) regarding the net:timeout setting: When trying to upload a file which transfer time takes more than the value set in net:timeout, the transfer restarts at the end because of supposed timeout, although the upload has been active all the time :-( Example: - File upload with about 200 MB takes approximately 25 seconds - set net:timeout 10s - set net:idle 3m => After _complete_ transfer the client seems to wait for a put confirmation (FileCopy(139ea0) enters state CONFIRM_WAIT), but in same moment recognizes the timeout and starts reconnecting - and everything starts again from the beginning, because the server does not allow continuation of transfer. Is this a bug? Or is there another setting I may forgot (I don't want to set the timeout to a too high value because than other real timeouts wouldn't be caught)... Here is my debug log: lftp <***>@fscad62:/media> put -c testFile.cpio 2006-11-01 13:03:34 FileCopy(139ea0) enters state INITIAL 2006-11-01 13:03:34 FileCopy(139ea0) enters state GET_INFO_WAIT 2006-11-01 13:03:34 FileCopy(139ea0) enters state INITIAL 2006-11-01 13:03:34 FileCopy(139ea0) enters state PUT_WAIT 2006-11-01 13:03:34 FileCopy(139ea0) enters state DO_COPY 2006-11-01 13:03:34 ---> PORT 147,54,132,248,247,224 2006-11-01 13:03:34 dns cache hit 2006-11-01 13:04:04 ---- Connecting to fscad62 ( 192.168.138.82) port 21 2006-11-01 13:04:04 <--- 220 fscad62 FTP server (SunOS 5.8) ready. 2006-11-01 13:04:04 ---> FEAT 2006-11-01 13:04:04 <--- 500 'FEAT': command not understood. 2006-11-01 13:04:04 ---> USER <***> 2006-11-01 13:04:04 <--- 331 Password required for <***>. 2006-11-01 13:04:04 ---> PASS <***> 2006-11-01 13:04:04 <--- 230 User <***> logged in. 2006-11-01 13:04:04 ---> CWD /media 2006-11-01 13:04:04 <--- 250 CWD command successful. 2006-11-01 13:04:04 ---> TYPE I 2006-11-01 13:04:04 <--- 200 Type set to I. 2006-11-01 13:04:04 ---> SIZE testFile.cpio 2006-11-01 13:04:04 <--- 500 'SIZE testFile.cpio': command not understood. 2006-11-01 13:04:04 copy: get hit eof 2006-11-01 13:04:04 copy: waiting for put confirmation 2006-11-01 13:04:04 FileCopy(139ea0) enters state CONFIRM_WAIT 2006-11-01 13:04:04 ---> PORT 147,54,132,248,247,243 2006-11-01 13:04:04 FileCopy(139ea0) enters state DO_COPY 2006-11-01 13:04:04 copy: put rolled back to 0, seeking get accordingly 2006-11-01 13:04:04 copy: get position was 200359936 2006-11-01 13:04:04 <--- 200 PORT command successful. 2006-11-01 13:04:04 ---> ALLO 200359936 2006-11-01 13:04:04 <--- 202 ALLO command ignored. 2006-11-01 13:04:04 ---> STOR testFile.cpio 2006-11-01 13:04:04 <--- 150 Binary data connection for testFile.cpio ( 147.54.132.248,63475). 2006-11-01 13:04:23 copy: get hit eof 2006-11-01 13:04:23 copy: waiting for put confirmation 2006-11-01 13:04:23 FileCopy(139ea0) enters state CONFIRM_WAIT 2006-11-01 13:04:23 ---- Closing data socket 2006-11-01 13:04:23 **** Timeout - reconnecting 2006-11-01 13:04:23 ---- Closing control socket 2006-11-01 13:04:23 try_time=1162382614, retries=0 2006-11-01 13:04:23 FileCopy(139ea0) enters state DO_COPY 2006-11-01 13:04:23 dns cache hit 2006-11-01 13:04:23 ---- Connecting to fscad62 (192.168.138.82) port 21 2006-11-01 13:04:23 <--- 220 fscad62 FTP server (SunOS 5.8) ready. 2006-11-01 13:04:23 ---> FEAT 2006-11-01 13:04:23 <--- 500 'FEAT': command not understood. 2006-11-01 13:04:23 ---> USER <***> 2006-11-01 13:04:23 <--- 331 Password required for <***>. 2006-11-01 13:04:23 ---> PASS <***> 2006-11-01 13:04:23 <--- 230 User <***> logged in. 2006-11-01 13:04:23 ---> CWD /media 2006-11-01 13:04:23 <--- 250 CWD command successful. 2006-11-01 13:04:23 ---> TYPE I 2006-11-01 13:04:23 <--- 200 Type set to I. 2006-11-01 13:04:23 ---> SIZE testFile.cpio 2006-11-01 13:04:23 <--- 500 'SIZE testFile.cpio': command not understood. 2006-11-01 13:04:23 copy: get hit eof 2006-11-01 13:04:23 copy: waiting for put confirmation 2006-11-01 13:04:23 FileCopy(139ea0) enters state CONFIRM_WAIT 2006-11-01 13:04:23 ---> PORT 147,54,132,248,247,245 2006-11-01 13:04:23 FileCopy(139ea0) enters state DO_COPY 2006-11-01 13:04:23 copy: put rolled back to 0, seeking get accordingly 2006-11-01 13:04:23 copy: get position was 200359936 2006-11-01 13:04:23 <--- 200 PORT command successful. 2006-11-01 13:04:23 ---> ALLO 200359936 2006-11-01 13:04:23 <--- 202 ALLO command ignored. 2006-11-01 13:04:23 ---> STOR testFile.cpio 2006-11-01 13:04:23 <--- 150 Binary data connection for testFile.cpio (147.54.132.248 ,63477). ... Thank you and best regards Stefan.
