Script error with space in the remote path
I do have very simple script that upload file to server:
I could run that command manually without any problem. But when I put it all together in the script, it got error:
Thanks
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