Windows Version: Windows 7 Professional SP1
Transfer Protocol: FTP
Script (file name is FTPBackup.txt):
option batch on
option confirm off
get -resume /*.* C:\FTPBackup\
WinSCP.exe /console /script=C:\FTPBackup\FTPBackup.txt
Steps to Reproduce issue:
- Have several large files on server
- Let first few files download completely using above script
- Hit Ctrl+C to interrupt and terminate the batch transfer
- Re-run the same script to try completing the transfer
Fully downloaded files are skipped, and partially downloaded file is resumed.
Fully downloaded files are downloaded from scratch again (instead of getting skipped).
Edit: Setting 'option batch continue' doesn't help either.
FYI, Partially downloaded file gets resumed as expected. If the last byte is removed, then just that byte is downloaded and WinSCP starts processing the next file as expected.