You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using hosted service (IHostedService) to keep the connection always open in order to avoid connection overhead.
(e.g. call FtpClient.Connect at StartAsync method only and FtpClient.Disconnect at StopAsync)
And the FTP operations are done in the same connection during the application lifetime.
Is there any event fired if the FTP server disconnects or gets down? So, I could try to reconnect periodically to get the connection back alive.
The text was updated successfully, but these errors were encountered:
TahaBerkay
changed the title
Any event triggered to catch the disconnect events of FtpClient?
Any event triggered to catch the disconnect events of connected FtpClient?
May 29, 2021
I'm using hosted service (IHostedService) to keep the connection always open in order to avoid connection overhead.
(e.g. call FtpClient.Connect at StartAsync method only and FtpClient.Disconnect at StopAsync)
And the FTP operations are done in the same connection during the application lifetime.
Is there any event fired if the FTP server disconnects or gets down? So, I could try to reconnect periodically to get the connection back alive.
The text was updated successfully, but these errors were encountered: