In the previous version the X509Certificate received in the OnInvalidSslCerticate handler was lost. Its information are not available after the callback, so we could not provide information about it to the users. Also it is needed to force closing the connection when the authentication fail, but we cannot send the QUIT command, since the Socket is not valid. So we just force close everything.
In the previous version the X509Certificate received in the OnInvalidSslCerticate
handler was lost. Its information are not available after
the callback, so we could not provide information about it to the users.
Also it is needed to force closing the connection when the authentication fail,
but we cannot send the QUIT command, since the Socket is not valid. So we just
force close everything.

robinrodricks/FluentFTP,robinrodricks/FluentFTP,worstenbrood/FluentFTP,shaneray/ShaneSpace.FtpClient,shaneray/ShaneSpace.FtpClient,kendallb/System.Net.FtpClient,robinrodricks/FluentFTP,hgupta9/FluentFTP