Isn't this invocation syntax supposed to reuse an existing idle session from the GUI ?
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]]
I then tried to run
winscp.exe linux /synchronize /defaultsfrom the command line but the command tries to open a new session to host "linux" instead of reusing the existing session with this name which is active and idle.
The refresh invocation seems to work just fine
winscp.exe [mysession] /refresh [path]