Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

AJ

Re: Synchronize and retry files

For me when using the "option batch continue" it picks "Skip" and the file never gets downloaded, am I doing something wrong then?
martin

Re: Synchronize and retry files

You need to either use option batch continue or loop whole script until it completely succeeds.
DevOn99

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