Command line scripting: Resume after connection loss skips files that are partly uploaded

Advertisement

RonWilliams
Guest

Command line scripting: Resume after connection loss skips files that are partly uploaded

I struggle with bad internet connections and thus drops a few times during upload, but the WinSCP resumes after the connection loss but skip over the files that are partly uploaded.

option batch on
option reconnecttime 30
option confirm off
open ftp://*******:***********@154.8.160.197/
synchronize remote C:\WINDEXVIDEO\ /public_html/Repository/Video2020 -resumesupport=on -speed=100
exit

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,669
Location:
Prague, Czechia

Re: Command line scripting: Resume after connection loss skips files that are partly uploaded

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum