Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.3k views
in .NET FTP by (120 points)
Can anyone tell me why I am getting this error? I am testing with a client's server and am able to connect to their QA system but their production system returns this:

EnterpriseDT.Net.Ftp.FTPException: SSLv23/TLSv1 (code=334)
at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
at EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion, Boolean secureDataChannels)
at EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion securityMechanism)
at EnterpriseDT.Net.Ftp.SecureFTPConnection.SecureConnection()
at EnterpriseDT.Net.Ftp.SecureFTPConnection.Connect()


Here is the code I am running.
SecureFTPConnection ftpConnection = new SecureFTPConnection();
try
{
ftpConnection.LicenseOwner = AppSetting("license.owner");
ftpConnection.LicenseKey = AppSetting("license.key");

if (File.Exists(path))
{
File.Delete(path);
}

ftpConnection.ServerAddress = AppSetting("URL");
ftpConnection.ServerPort = 21;
ftpConnection.UserName = AppSetting("Userid");
ftpConnection.Password = AppSetting("PWD");
ftpConnection.ConnectMode = FTPConnectMode.PASV;
ftpConnection.Protocol = FileTransferProtocol.FTPSExplicit;
ftpConnection.Connect();

1 Answer

0 votes
by (162k points)
Thanks for the email - patching this now and you'll have a new release soon. The fix will also be in the next version.

Categories

...