News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
SSL cannot login to certain FTP server (exception)  
by Jérémie Lumbroso
posted on 2004/05/29

When I use the FTP sample provided with the Security package to connect to this FTP using option [2] (or "secure connection"):
ftps://dowbot:SSL%2Ftls0@129.177.34.97:63091/

I get the following error:

"The server hello message uses a protocol that was not recognized."

at Org.Mentalis.Security.Ssl.Shared.CompatibilityLayer.ProcessServerHello(Byte[] bytes, Int32 offset, Int32 size)
at Org.Mentalis.Security.Ssl.Shared.CompatibilityLayer.ProcessHello(Byte[] bytes, Int32 offset, Int32 size)
at Org.Mentalis.Security.Ssl.Shared.SocketController.OnReceive(IAsyncResult ar)


This was after the DoAuth() method, which uses the ChangeSecurityProtocol method of the SecuritySocket while it is connected -- despite the counter-indications of the documentation.

Also, how do you open private data connections with SecureSockets?

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/06/01

I can't connect to the server with WS_FTP either, so there seems to be something wrong with the FTP server, not the security library.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.