Simple PUT question

Advertisement

aj84
Joined:
Posts:
2

Simple PUT question

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/" `
"exit"

The log shows the following error
Connecting to ServerName...
TLS connection established. Waiting for welcome message...
Connected
Starting the session...
Session started.
Active session: [1] 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.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum