Topic "Command Error"

Author Message
faruxx
[View user's profile]

Joined: 2014-12-18
Posts: 8
Location: Turkey
Hi,

When my folder have a space character, program is error for me ===> /SPACE is not known command. Couse my folder name have a space char. How i can use this command?

Ex.

winscp.com /command "option batch abort" "open sftp://user:password@example.com" "cd /SPACE ONE/bla/bla/"
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Use:

winscp.com /command "option batch abort" "open sftp://user:password@example.com" "cd ""/SPACE ONE/bla/bla/"""

See http://winscp.net/eng/docs/commandline#syntax
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