Automatically reconnect in console mode?
I'm using WinSCP 5.1.4
I am using the "keep update" feature to sync a local folder with my remote folder over SFTP.
Command Line: "C:\...\winscp514\WinSCP.exe" /console /script="myscript.txt"
myscript:
open mysession
option reconnecttime 120
keepuptodate "D:\Hosted\private" "/home/host1/private" -delete -filemask="*.php"
If the connection temporarily crashes, it says "Network error: Software causes connection abort / Session 'mysession' closed / No session."
Is there a way to config, so WinSCP tries to re-connect automatically :?:
Thanks for your help
rgds,
janosh
I am using the "keep update" feature to sync a local folder with my remote folder over SFTP.
Command Line: "C:\...\winscp514\WinSCP.exe" /console /script="myscript.txt"
myscript:
open mysession
option reconnecttime 120
keepuptodate "D:\Hosted\private" "/home/host1/private" -delete -filemask="*.php"
If the connection temporarily crashes, it says "Network error: Software causes connection abort / Session 'mysession' closed / No session."
Is there a way to config, so WinSCP tries to re-connect automatically :?:
Thanks for your help
rgds,
janosh