I have a situation where a download is interrupted by the server and after I resume the download the resulting file ends up larger than the source file.
Looking at the local file in a binary editor (the file is a zip file) shows that after the resume, the server started from the beginning of the file but the local file was appended to.
It seems that the server missed the resume command but the ftp library did the append.
This has me stumped. Any advice would be appreciated.