Re: script returns instantly
To see an output of
Or use
See https://winscp.net/eng/docs/executables
winscp.exe you need to add /console switch.
Or use
winscp.exe.
See https://winscp.net/eng/docs/executables