An existing connection was forcibly closed by the - WeOnlyDo Discussion board

An existing connection was forcibly closed by the (wodFtpDLX / wodFtpDLX.NET)

by Tamil, Thursday, December 18, 2008, 12:27 (5602 days ago)

I m getting the following error when i try to connect to FTPS server

Error:
An existing connection was forcibly closed by the remote host

Code:

mFtp1.Blocking = True
mFtp1.Hostname = sHost
mFtp1.Login = sLogin
mFtp1.Password = sPwd
mFtp1.TempAuthorization = 633651011318356000 | yPNPPyMBfUXE2bJHHBnAxHIl8FI=
mFtp1.Authentication = WeOnlyDo.Client.Authentications.Password
mFtp1.Protocol = WeOnlyDo.Client.Protocols.FTPSwithdata

Try
mFtp1.Connect()

If Not mFtp1.LastError Is Nothing Then
Return False
Else
Return True
End If
mFtp1.Disconnect(True)
mFtp1 = Nothing
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message, Ftp1 Connect Error , System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Stop)
Return False

End Try


Complete thread: