Restart Transfer from Command Line
Hi,
I know that WinSCP will automatically resume a transfer if network connectivity is lost. I've tested that and can see it work.
But what about if the computer the job is running on needs to be restarted? Is there a scripting parameter to tell WinSCP to detect a partial file transfer and to attempt to resume/restart it? The reason I'm asking is we have a large file we need to transfer daily (via FTP), the file is 12GB in size and takes about 10 hours to transfer. It's possible that the server I'm running the transfer on could have a problem and need to be restarted.
In my Preferences setting, I already have resume/transfer to temporary filename set to Files above 100 KiB, and both Automatically reconnect options are enabled. But if I start a transfer from the command line, then kill the transfer by doing a
Thanks in advance.
I know that WinSCP will automatically resume a transfer if network connectivity is lost. I've tested that and can see it work.
But what about if the computer the job is running on needs to be restarted? Is there a scripting parameter to tell WinSCP to detect a partial file transfer and to attempt to resume/restart it? The reason I'm asking is we have a large file we need to transfer daily (via FTP), the file is 12GB in size and takes about 10 hours to transfer. It's possible that the server I'm running the transfer on could have a problem and need to be restarted.
In my Preferences setting, I already have resume/transfer to temporary filename set to Files above 100 KiB, and both Automatically reconnect options are enabled. But if I start a transfer from the command line, then kill the transfer by doing a
Ctrl+C
in the console window, and restart it, it starts from the beginning all over again.
Thanks in advance.