Made a reference to version 7.4.2, re-compiled and now this error gets thrown:
Module: ThunderFileRouter
Procedure: ConnectSecureFTP
Message: Calling Sub:ResultsHL7CheckForFiles
Error Message: The certificate could not be verified: -1 - The certificate is invalid.
Error Source: edtFTPnetPRO
Error Target: WY5HOtJdbev
Error Stack Trace: at QoHLMGvKKOMFW5Wq7gm.xQ3rc1ve2g9Sd3vWKEw.WY5HOtJdbev(BaseSocket )
at QoHLMGvKKOMFW5Wq7gm.xQ3rc1ve2g9Sd3vWKEw.vmBHOwuQoYg()
at EnterpriseDT.Net.ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion, Boolean secureDataChannels)
at EnterpriseDT.Net.ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion)
at EnterpriseDT.Net.ftp.SecureFTPConnection.SecureConnection()
at EnterpriseDT.Net.ftp.SecureFTPConnection.Connect()
at CLPThunderFileRouter.ThunderFileRouter.ConnectSecureFTP(String callingSub) in C:\Dotnet\Projects\CLPThunderFileRouter\CLPThunderFileRouter\ThunderFileRouter.vb:line 157
This is code that has been running for over 3 years using edtFTPnetPRO.
here is the connection code:
EnterpriseDT.Util.Debug.Logger.CurrentLevel = EnterpriseDT.Util.Debug.Level.ERROR
EnterpriseDT.Util.Debug.Logger.AddAppender(New EnterpriseDT.Util.Debug.FileAppender("C:\\ftp.txt"))
sFTP = New SecureFTPConnection
With sFTP
.LicenseOwner = "xxxxxxxxxxxxxxx"
.LicenseKey = "xxxxxxxxxxxxxxxxxxxxxx"
.ServerAddress = ftpServer
.ServerPort = CType(ftpPort, Integer)
.UserName = ftpUser
.Password = ftpPassword
.Protocol = FileTransferProtocol.FTPSExplicit
.ServerValidation = SecureFTPServerValidationType.Automatic
.ServerCommonName = "ftp.clptestpoint.com"
.SSLVersion = SSLFTPSSLVersion.SSL3
.Connect()
End With
pointed back to version 7.3.1.20 and all is well again