Post a reply

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)


Topic review


Synchronize - After the command, the batch isn't interrupted

Hello, adding to my batch the synchronize command, the script don't terminate. It works as intended, but the script won't terminate, as it do removing the command. Am I doing something wrong?
This is my script:
@echo off
"C:\Program Files (x86)\WinSCP\" ^
   /xmllog="%logsfolder%\%data%_%ora%-[Upload].xml" /ini=nul ^
   /command ^
   "open ftp://**************************/" ^
   "lcd ""%axfs%\BtoE\""" ^
   "cd /import" ^
   "put *.CSV" ^
   "lcd ""%axfs%\Leaflet""" ^
   "cd /attachments/leaflet" ^
   "synchronize remote"