i'm new of winscp. I use the GUI to save all my connections to server. Now i want to make a batch file to automatize the backup, so i tried to use the /console mode.
I run my saved sessions by "winscp421.exe mysession /console" but i get a "Server sent a command exit status 0". However if i remove the /console flag: "winscp421.exe mysession" the session starts automatically with a correct authentication.
Can be something connected with private/host key? But why the stored session works with the GUI but not with console?
I also tried to set hostkey/private key in the command line, but i don't know how to get this files.