method to check if ftp server is available?
Hello.
Is there a way to check if ftp server is available before sending ftp command to it?
Session.Opened member does not provide server status.
I tried stopping ftp server between requests, and it seems like there is no way to detect if it is available.
The way I see it is to create another instance of the Session object and try to open it...
If I stop server with live connection, component hangs at this method "ElementLogReader.Read(LogReadFlags flags)" or this one "SessionElementLogReader.Read(LogReadFlags flags)"...
Any suggestions?
thank you.
Is there a way to check if ftp server is available before sending ftp command to it?
Session.Opened member does not provide server status.
I tried stopping ftp server between requests, and it seems like there is no way to detect if it is available.
The way I see it is to create another instance of the Session object and try to open it...
If I stop server with live connection, component hangs at this method "ElementLogReader.Read(LogReadFlags flags)" or this one "SessionElementLogReader.Read(LogReadFlags flags)"...
Any suggestions?
thank you.