Trying to make a simple script work. I can delete my files locally, I can log in with winscp but when using the get command to retrieve the files from the remote host it does no work. Here is a kicker, when I run the script and log into the command prompt winscp, I can run the get command and it works just fine. I am missing something in my script. Need some help!! I am using the echo off and pause so I can watch the script work and once the scrit is working I will remove it.
Here is my script.
Session name is test
On the Winscp login session I do have the directories set to
I have tried using the *.*
Again it all works except the get files. What am I missing?
option batch on
option confirm off
"C:\Program Files (x86)\WinSCP\WinSCP.com" test