Before you have asked about starting GUI synchronization from commandline.
Now you ask about "Keep remote directory up to date" in scripting console.
Those are very different features.
For the latter, you can do:
See https://winscp.net/eng/docs/commandline
Now you ask about "Keep remote directory up to date" in scripting console.
Those are very different features.
For the latter, you can do:
WinSCP.com /command "open SessName" "keepuptodate -filemask=*.csv"
See https://winscp.net/eng/docs/commandline