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:email@example.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?