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


Re: Automate Transfer To Server

Big thanks that worked.

Automate Transfer To Server

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

Neither worked.

Script 1:
option batch abort
option confirm 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.