Hello,
After following scripting documentation on the site i created two batches to automate transfer,
But neither did work, the first one terminated after starting session due to passive mode is on,
I tried both following commands to turn passive mode off:
open -passive=off and
passive=off
Neither worked.
Script 1:
option batch abort
option confirm off
open-passive=off
open ftp://xxxxxx
synchronize remote D:\xxx /xxx
Script 2:
winscp.exe "Site" /defaults /synchronize "D:\xxx" "/xxx"
The second script open UI and shows files ready to transfer just needs to click OK button.
How can i accomplish automate transfer with any script?
Many thanks.