Hi,
i found a strange error when loading
down a big file (~300MB).
The file is temp. downloaded, scanned for virus,
transfer begins.
It takes long because of a slow
connection (10MB/sec).
After some time (~ 5 min)
the transfer stops because of a timeout.
Here you can see the session from
the view of the ftp-client :
--snipp--
ftp> get bigfile
200 PORT command successful. Consider using PASV.
150-Starting Transfer
150-There'll be a delay while we scan for viruses
150-Downloaded 99581952 bytes to proxy
150-Downloaded 305627136 bytes to proxy
150-Scanning file for viruses
150 Starting Transfer
Verbindung beendet durch Remotehost.
ftp> bye
--snipp--
Here you can see the log of frox for this session :
--snipp--
%
Thu Mar 16 17:38:26 2006 frox[16200] S: 200 PORT
command successful. Consider using PASV.
Thu Mar 16 17:38:26 2006 frox[16200] C: RETR bigfile
Thu Mar 16 17:38:26 2006 frox[16200] VS: Downloading to
temporary file
Thu Mar 16 17:38:26 2006 frox[16200] Server has
connected to proxy data line
Thu Mar 16 17:38:26 2006 frox[16200] S: 150-Starting
Transfer
Thu Mar 16 17:38:26 2006 frox[16200] S: 150-There'll
be a delay while we scan for viruses
Thu Mar 16 17:38:57 2006 frox[16200] S:
150-Downloaded 99581952 bytes to proxy
Thu Mar 16 17:39:28 2006 frox[16200] S:
150-Downloaded 305627136 bytes to proxy
Thu Mar 16 17:39:33 2006 frox[16200] VS: Now scanning file
Thu Mar 16 17:39:33 2006 frox[16200] S: 150-Scanning
file for viruses
Thu Mar 16 17:39:35 2006 frox[16200] VS: Scan complete.
Changing fd
Thu Mar 16 17:39:35 2006 frox[16200] S: 150 Starting
Transfer
Thu Mar 16 17:44:33 2006 frox[16200] S: 421 Timeout.
--snipp--
Timeout is set to a value far behind the duration of
the transfer.
--snipp--
# Number of seconds of no activity before closing session
# Defaults to 300
#
#
Timeout 1200
--snipp--
I looked at the code, but i couldn't find the place
where the timeout-message is written ...
Timeout is set correctly in config.timeout, i made a
debugging fprint to see it after "read_config()"
is done ...
So, maybe some of the developers can give me a hint
or find a solution.
greets Harry
h.rueter@fraport.de