Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Synchronize folder with space character from command line

Please read documentation. If that does not help, come back.
prietor

Synchronize folder with space character from command line

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?