Thanks a bunch, this worked great.
I think this will work for you...
winscp.com UserName:Password@IP_Address /command "get * C:\MyFiles\*" exit
Greetings all,
I've done a couple of searches for this, but I havent seen any hits that are close to my issue. What I'd like to do is to launch WinSCP from the command line with the SFTP target and then download all the files I find there to the local machine. I am NOT looking to synchronize or keep up to date the remote location.
What I was doing was "winscp.exe sftp://user:password@remote.com/filedirectory C:\MyFiles" but this doesnt seem to do anything. I'm trying to use it as part of a batch command list to get all of the contents on the remote server every time the batch runs. Is this possible?