Tracker »

Issue 157 – Uploads of large files with FTP are restarting

: Core
: Unspecified
: Bug
: High
: 0
: RESOLVED
: FIXED
: 4.2.4
Mailed Albert at Sat, 16 Feb 2008 13:43:05 +0100
https://winscp.net/forum/viewtopic.php?p=18071#18071
Anyone else having the problem? Please post to the support forum.
Mailed RadPal at Thu, 17 Apr 2008 00:00:51 +0200
It has been observed with FileZilla Server that it does not acknowledge STOR command after otherwise successful upload of large file. Hence it makes WinSCP think that upload has failed and restarts.

FileZilla client seems to succeed to work. But this is probably only because it seems to simply log "Timeout detected" log entry, without any retry attempt (which it does not support).

References:
Paul DePesa
Also email to Paul DePesa on Sat, 26 Apr 2008 22:03:07 +0200
The same issue with Pure-FTPd.
https://winscp.net/forum/viewtopic.php?t=6361
Not checked if it the same server-side issue, but looks similar.
Possibly related to Issue 363.
Possibly related report stating that the problem disappears when Windows firewall is deactivated
https://winscp.net/forum/viewtopic.php?t=7016
Though the above report is for downloads, not uploads.
I'm still looking for someone patient enough to help me trace this problem!
Quick and dirty solution: When connection breaks during transfer and after reconnect the target file has the same size as source file, do not restart transfer. Consider transfer successful instead.