Post a reply

Options
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)

Options

Topic review

davidnguyen

Please help to close this.

It's my fault that edited the wrong script file.

I worked as a charm :)
davidnguyen

Script error with space in the remote path

I do have very simple script that upload file to server:

open ftp://a:b@x.y.z

put "C:\Users\abc\file.name" "/Program Files/path_without_space/*.*"
exit


I could run that command manually without any problem. But when I put it all together in the script, it got error:

winscp.com /script=test.script


File or folder '/Program' does not exist.
System Error. Code: 2.
The system cannot find the file specified
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort


Thanks