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

vivekonandroid@gmail.com

I figured it out....trailing tabs/spaces
Batch script started working fine when I removed the trailing tab spaces.
vivekonandroid@gmail.com

Script stuck on Nothing to synchronize

My script contains several synchronization statements:
"c:\program files (8x6)\winscp\winscp.com" ^
/command ^
"open %connectionString% -hostkey=* -rawsettings FSProtocol=2" ^
"synchronize remote %Source1% %Destination1% -filemask=""*|*/""" ^
"synchronize remote %Source2% %Destination2% -filemask=""*|*/""" ^
"synchronize remote %Source3% %Destination3% -filemask=""*|*/""" ^
"synchronize remote %Source4% %Destination4% -filemask=""*|*/""" ^
"exit
exit

If check for synchronization is successful in the first file source + destination the script says "Nothing to synchronize" and is stuck at the winscp> command prompt. It doesn't move forward to the rest of the synchronization statements.
Can someone please help? I've scoured this forums but not found a satisfactory answer.