Hi,
I'm trying to use the following command to copy a folder from a Windows machine to Linux:
source: d:\my test
target: /root/Desktop
> winscp.com myuser:mypass@1.2.3.4 /command "put d:\my test /root/Desktop/"
(It is important to say that the same command works with a simple source folder name, such as d:\test)
it fails, of course, and reports that the folder "d:\my" doesn't exist.
I've tried some variations, such as
> winscp.com myuser:mypass@1.2.3.4 /command "put \"d:\my test\" /root/Desktop/"
but none of them works. How can I quote the source folder name inside a put command, in order for it to be understood correctly?
Thank you!