Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.8k views
in .NET FTP by (220 points)
I am running the sample code provided by EDT. Specifically 'Server Validation Part A'. Below is the debug output. I'm wondering if anyone might have a thought on what the possible error may be. I am running this on my development machine where I have been successful in connecting to the site using 'Core FTP Client'.
Thanks,
Terry


DEBUG : 220 Welcome to Synchrony Gateway FTP server
DEBUG : ---> AUTH TLS
DEBUG : 234 Security data exchange complete.
DEBUG : Beginning Ssl3, Tls1, Tls11 handshake.
DEBUG : Processing hello
ERROR : OnReceive - caught exception - closing: The server has sent an error notification: lXsnQ2dUo
DEBUG : CloseConnection(e=The server has sent an error notification: lXsnQ2dUo)
DEBUG : Shut down socket
DEBUG : Closed socket
DEBUG : Close() called when open
DEBUG : OnHandshakeComplete(False,The server has sent an error notification: lXsnQ2dUo)
ERROR : Exception during handshake: The server has sent an error notification: lXsnQ2dUo
ERROR : EnterpriseDT.Mentalis.Security.Ssl.Shared.SslException: The server has sent an error notification: lXsnQ2dUo
ERROR : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
ERROR : at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
ERROR : at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
ERROR : at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
ERROR : at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
ERROR : at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
ERROR : at ExampleViewer.NonGuiExPage.RunExample()
ERROR : CAUSED BY - EnterpriseDT.Mentalis.Security.Ssl.Shared.SslException: Exception has been thrown by the target of an invocation.
ERROR : at XnrA8bgRjW8ZMSNV4XO.ufCAQMgI81U5w9c5Loq.uWaLwQxHg(ktDAPcgs3nM5Q4PD4Gi )
ERROR : at lKKvP0yJ5fC9T0nbloV.fhgA2vys4wIfdadoqRL.hJ0gToKr5(BaseSocket )
ERROR : at lKKvP0yJ5fC9T0nbloV.fhgA2vys4wIfdadoqRL.xbHtbVykm()
ERROR : at EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient.Auth(SSLFTPSSLVersion sslVersion, Boolean secureDataChannels)
ERROR : at EnterpriseDT.Net.Ftp.SecureFTPConnection.SecureConnection()
ERROR : at EnterpriseDT.Net.Ftp.SecureFTPConnection.Connect()
ERROR : at FTPS2Example.Run(String serverAddress, Int32 serverPort, String userName, String password)
DEBUG : Dispose()
DEBUG : CloseConnection(e=null)

2 Answers

0 votes
by (162k points)
Can you post (or email to support@enterprisedt.com) the Core FTP log (at the highest logging level)? That might reveal what CoreFTP is doing that is working successfully.
0 votes
by (220 points)
Figured it out. I needed to supply a client certificate.
Thanks,
Terry

Categories

...