No Spaces in Paths for Command?

Advertisement

NoUseForAName
Guest

No Spaces in Paths for Command?

Hi, I've read some of the posts in the forum and the FAQ concerning how to handle spaces in paths. I've followed the syntax but still no luck. Perhaps I'm missing something. This is the command I'm using:

winscp.com /command "open sftp://user:pass@site" "get file.csv C:\Documents ""and ""Settings\username\My Documents\inbox\download\file.csv"

Reply with quote

NoUseForAName
Guest

OK. I've got it. Was using an older version (4.1.7). Downloaded the latest (4.3.3) and used this command:

winscp.com /command "open sftp://user:pass@site" "get file.csv ""C:\Documents and Settings\username\My Documents\inbox\file_download\file.csv"""

Reply with quote

Advertisement

You can post new topics in this forum