by mdam posted on 2005/02/19 |
|
Hi,
First off all thanks for the hard work on this excellent project!
When I try to connect using the ftpclient I get the following error:
Org.Mentalis.Security.SecurityException: An error occurs while communicating wit
h the remote host. ---> Org.Mentalis.Security.Ssl.Shared.SslException: The serve
r hello message uses a protocol that was not recognized.
at Org.Mentalis.Security.Ssl.Shared.CompatibilityLayer.ProcessServerHello(Byt
e[] bytes, Int32 offset, Int32 size)
at Org.Mentalis.Security.Ssl.Shared.CompatibilityLayer.ProcessHello(Byte[] by
tes, Int32 offset, Int32 size)
at Org.Mentalis.Security.Ssl.Shared.SocketController.OnReceive(IAsyncResult a
r)
--- End of inner exception stack trace ---
at Org.Mentalis.Security.Ssl.SecureSocket.EndSend(IAsyncResult asyncResult)
at Org.Mentalis.Security.Ssl.SecureSocket.Send(Byte[] buffer, Int32 offset, I
nt32 size, SocketFlags socketFlags)
at FtpClient.SendCommand(String command) in c:\programming\seclib-1.0\samples
\ssl\ftpclient\ftpclient.cs:line 138
at FtpClient.DownloadFile(Url url, Int32 choice) in c:\programming\seclib-1.0
\samples\ssl\ftpclient\ftpclient.cs:line 106
at FtpClient.Start() in c:\programming\seclib-1.0\samples\ssl\ftpclient\ftpcl
ient.cs:line 91
at FtpClient.Main(String[] args) in c:\programming\seclib-1.0\samples\ssl\ftp
client\ftpclient.cs:line 48
I am using the example ftpclient from the sample directory. Other ftp clients supporting TLS/SSL are able to connect to the same server. Anybody has an idea what's causing this error? Thanks in advance. |