I was able to create a shortcut for WinSCP which opens my connection and keeps the two folders synchronized:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="D:\log.log" /script="D:\script.txt"
And the script.txt contains the commands "open", "keepuptodate" and "exit" generated by the program.
My question is following:
Everytime I start the shortcut, the folders get synchronized, but I can't see the WinSCP program. I know its in the Task Manager of Windows, where I can shut it down, but is it possible to see an additional tray icon?
I get the tray icon, when I start WinSCP and the synchronization manually and minimize it, but I would prefer the automatic way.
Thank you very much!