In a batch file I use the following:
start /min winscp.exe /console /command "option batch on" "open ftp://user:firstname.lastname@example.org/Demo_Sync/" "option confirm off" "put -resume 1.7z" /log="C:\winscp.log" "exit"
When the connection brakes and gets re established I get the following error:
< 2015-01-25 19:57:30.419 150 Opening data channel for file upload to server of "/Demo_Sync/1.7z", restarting at offset 1773515
< 2015-01-25 19:57:30.420 550 can't access file.
. 2015-01-25 19:57:30.421 Copying files to remote side failed.
* 2015-01-25 19:57:30.421 (ExtException) **Copying files to remote side failed.**
* 2015-01-25 19:57:30.421 can't access file.
The -resume switch is used but the process cannot complete.
If I use e.g. FileZilla client resume of the same file on the same server is possible.
The server is a FileZilla FTP server and resume is enabled.
Do I miss something?
Attached you can find the complete log of the procedure.