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
option batch abort
option confirm off
synchronize remote D:\xxx /xxx
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?