Problem with space in local patl

Advertisement

cacro
Joined:
Posts:
2
Location:
France

Problem with space in local patl

Good morning,
Could you help me please about a script to simply copy files from local folder to remote folder. My script is the following :
set localpath = D:\test test\test\*.*
set remotepath = C\remotetest remote test\test
winscp.com /command "open ftps://userlogin:password@remoteftp/" 
"put %localpath% %remotepath%"
"exit"
The connection is working fine but the command put doesn't work :-(
I have this issue : '"put "' is not recognized as an internal or external command,
operable program or batch file.

Could you help me please ?
I read this page https://winscp.net/eng/docs/scripting#quotes but I don't understand where is the error.
Thanks a lot !

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum