Re: Resuming Upload with APPE command creates corrupt files
Use REST+STOR to resume upload instead of APPE if server advertises REST STREAM support
I was looking at this change in FileZilla and while I admit that using
REST
instead of APPE
is semantically more sound, I do not think that it can have any actual effect on the transfer technically.
With
APPE
: Client (FileZilla/WinSCP) checks remote file size, tells FTP server to start appending to the remote file, and feeds data from local file starting with position based on remote file size.
With
REST
: Client (FileZilla) checks remote file size, tells FTP server to restart transfer, starting at a position equal to the file size (=end of the file), and feeds data from local file starting with position based on remote file size.
Technically, both approaches are identical. Or does anyone see a difference?