Posted: 2007-10-13 03:44
During synchronization, WinSCP has to list the contents of the directories in order to make a comparison. If during the listing of a directory, network connection is lost, the whole job is aborted. I would like to request an auto-restart directory listing on error option so if network connection is lost during the listing of a large directory, the listing process will be restarted.
The temp work around is to add error handling to the batch file that calls WinSCP. For example:
call winscp.com /console /script=syncscript.txt SESSION
if not %errorlevel%==0 goto :error
This will work, however, it starts the whole sync job over. If you have 6 lines in your script, it will have to resync those lines also. I am requesting that the application be able to restart on the line that failed, not restart the entire script.
Location: Prague, Czechia
I am requesting that the application be able to restart on the line that failed, not restart the entire script.
OK, that might be an easier solution than generic reconnect feature. I'll consider that.
You can post new topics in this forum
And it's free!