Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: TLS with PowerTCP Secure FTP
MuffinMan2030

From: whocares, AL USA
Posts: 4
Member Since: 04/28/04
posted April 28, 2004 2:53 PM

I'm evaluating PowerTCP Secure FTP for .NET, and I cannot seem to get TLS to work properly. The component continue's to send "AUTH SSL" after it makes the connection instead of "AUTH TLS".

It seems that PowerTCP Secure FTP tries to force SSL no matter what, causing me to get an exception "Connection terminated by server during SSL handshake." when I attempt the connection.

Tony Priest mentioned you have to switch to TLS manually, but I don't know how todo that.

Please note that the servers I am using, and will be using for a long time, do *not* support SSL FTP connections, only non-secure and TLS connections.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 28, 2004 3:02 PM

Can you please reference the posting where I said something about switching to TLS?

MuffinMan2030

From: whocares, AL USA
Posts: 4
Member Since: 04/28/04
posted April 28, 2004 3:59 PM

Here ya go : http://support.dart.com/postings?topicid=3674&search=1

Is this the proper way to use TLS with PowerTCP?
-------------------------------------------------
ftp1.Username = "user";
ftp1.Password = "pass";
ftp1.Server  = "server";
ftp1.Security = Security.None;
ftp1.Connection.SecureProtocol = SecureProtocol.None;
ftp1.Connection.Connect("server", 21);
ftp1.Invoke(FtpCommand.Null, "AUTH TLS");
ftp1.Security = Security.Explicit;
ftp1.Connection.SecureProtocol = SecureProtocol.Tls;
-------------------------------------------------
MuffinMan2030

From: whocares, AL USA
Posts: 4
Member Since: 04/28/04
posted April 28, 2004 4:08 PM

This is driving me insane. I double checked my logs and found that PowerTCP is STILL sending "AUTH SSL"!

I just don't get it. I'm telling it to use TLS, why does it continue to try to use SSL?!
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 28, 2004 4:32 PM

When you say "I can't get TLS to work", do you mean that you are not able to establish a connection by setting SecureProtocol to Auto?

Currently, we send AUTH SSL when SecureProtocol is set to anything but None.

If your server only works with AUTH TLS, then you won't be able to use our product until we implement AUTH TLS.

This has already been written up as issue #2590. If you need to check on the progress of the issue, please contact David Harry (sales@dart.com)
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX