Tried looking all over before posting. Trying to run a simple PUT command to move all files from a server to a local path. Not sure what I'm doing wrong here.
cd "C:\Program Files (x86)\WinSCP\"
.\WinSCP.com /ini=nul /script=G:\MYScripts\Script.txt /command `
"put \\MYSERVER\FOLDER\*.* LOCALPATH/FOLDER/" `
The log shows the following error
Connecting to ServerName...
TLS connection established. Waiting for welcome message...
Starting the session...
Active session:  user@ServerName
File or folder '%1%' does not exist.
System Error. Code: 2.
The system cannot find the file specified
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
Any help is appreciated.