Topic "Synchronize folder with space character from command line"

Author Message
[View user's profile]

Joined: 2009-03-02
Posts: 4
How can i synchronize, from command line, a folder that contains a space character?

I've tried this to synchronize "test folder":

WinSCP.exe /console /command "option batch continue" "open session1" "option transfer binary" "synchronize remote test%20folder test%20folder -mirror -delete -criteria=time" "close"

But it doesn't work. If i do:
WinSCP.exe /console /command "option batch continue" "open session1" "option transfer binary" "synchronize remote test folder test folder -mirror -delete -criteria=time" "close"

Then, obviously, synchronize has too many parameters

Any suggestion?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License