Topic "No Spaces in Paths for Command?"

Author Message
NoUseForAName

Guest


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"
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"""
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License