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

arthurprs

script returns instantly

Hello all,

I'm running the following script
option batch abort

option confirm off
open ftp://111:111@111.111.111.111:21
synchronize local
close
exit



though the command line
WinSCP.exe /script=script.txt


the script runs fine, my only problem is that the process returns instantly and seems like the process runs in another process. I read the docs and forum but I couldn't find why it's behaving like that. I need to get the turn value 0 or !0 to check if everything went fine.