Synchronize and retry files
Hello
I'm backing up part of a fileserver.
I use the syntax :
"C:\Program Files (x86)\WinSCP\winscp.com" /log=c:\adminscripts\DonnerstagLog.txt /command "option reconnecttime 10000" "option batch continue" "option confirm off" "open ftp://USER:PASSWORD@backup.serverkompetenz.de" "cd /Donnerstag" "synchronize remote d:\ -delete" "bye"
Had a lot of trouble getting this to work as the backup space sometimes refuses the connection (the hoster is not willinmg to invest time in fixing the problem):
425 Unable to build data connection: Connection refused
This "issue" is normally gone after some seconds.
After that, the "Asking User..." came in the log file and the sync command ended.
Only with "option batch continue" I was able to get the command to go on to the next file.
Is it possible to set the answer to the "Asking User..." to retry?
With "option batch on" the synchronize command just quits after "connection refused" and "asking user".
How can I fix this?
Any help is highly appreciated. Thx
DevOn
I'm backing up part of a fileserver.
I use the syntax :
"C:\Program Files (x86)\WinSCP\winscp.com" /log=c:\adminscripts\DonnerstagLog.txt /command "option reconnecttime 10000" "option batch continue" "option confirm off" "open ftp://USER:PASSWORD@backup.serverkompetenz.de" "cd /Donnerstag" "synchronize remote d:\ -delete" "bye"
Had a lot of trouble getting this to work as the backup space sometimes refuses the connection (the hoster is not willinmg to invest time in fixing the problem):
425 Unable to build data connection: Connection refused
This "issue" is normally gone after some seconds.
After that, the "Asking User..." came in the log file and the sync command ended.
Only with "option batch continue" I was able to get the command to go on to the next file.
Is it possible to set the answer to the "Asking User..." to retry?
With "option batch on" the synchronize command just quits after "connection refused" and "asking user".
How can I fix this?
Any help is highly appreciated. Thx
DevOn