Re: command line
Please read documentation. If that does not help, come back.
https://winscp.net/eng/docs/commandline#operations
https://winscp.net/eng/docs/commandline#operations
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
You have to specify local directory before the remote one. Also I would recommend using scripting instead.