Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

planetz

Re: Automatic Transfer of files from remote server to local machine using Winscp

martin wrote:

There has to be a space between the console and the /script=...:

/console /script=D:\sync.txt


Hey, I got it...now it is solved. Thanks..!! :D
martin

Re: Automatic Transfer of files from remote server to local machine using Winscp

There has to be a space between the console and the /script=...:

/console /script=D:\sync.txt
planetz

Automatic Transfer of files from remote server to local machine using Winscp

I need to transfer multiple files from a remote server to local machine.

I have then scheduled winscp.exe with argument "/console/script=D:\sync.txt"
sync.txt file contains the following commands.

option batch on
option confirm off
open username@hostname
cd folderContainingFiles
option transfer binary
get /desiredFile.extension pathInLocalComputer
exit

When I am running the task, winscp window is opening but it is not logging in.

Any help anyone?