Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Figured out the issue. The script file referenced not only establishes connection but also has a put command in it.

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\"

.\ /ini=nul /script=G:\MYScripts\Script.txt /command `

The log shows the following error
Connecting to ServerName...
TLS connection established. Waiting for welcome message...
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.