0 votes
by (600 points)

Another question is, when the server (FileZilla) shuts down, how come we are not getting the "421 Server is going offline" from the logger.

related to an answer for: FileTransferClient disconnected event?
Applies to: Rebex FTP/SSL

1 Answer

0 votes
by (141k points)
selected by
Best answer

Yes, CheckConnectionState or GetConnectionState might be a better option in that case. However, if you used KeepAlive, you should actually be getting the server's shutdown message when you call the method after the connection has been shut down (if the server actually sent it). If you are not, a communication log might contain some clues about what was going on from the client's point-of-view.