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?
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?