Great. Thank you Martin.
I am running WinSCP through command line (Schaduled task) by running batch file to connect to FTP and get files.
All works ok.
In case FTP server is not accessible (for some reason), what are the options to be notified that FTP is not accessible?
It can be some file placed somewhere, it can be some data sent over TCP/IP or other method. I just need some sort of output from WinSCP so I know that connection to FTP failed.