Connect() is throwing "Could not negotiate" exception (wodSFTP / wodSFTP.NET / wodSFTPdll)
I'm running a test in C# & Visual Studio 10, and am attempting to connect to a remote SFTP site. I can connect fine with FileZilla. However, when stepping through debugger and using the WeOnlyDo.Client.FTP.dll, I'm seeing the following error when executing the FtpDLX::Connect() call.
WeOnlyDo.Exceptions.FtpDLX.ProtocolException: Could not negotiate diffie-hellman-group1-sha1.
I've confirmed the FtpDLX properties have been initialized as desired. Any thoughts as to what might be causing this error? Much thanks!!
Connect() is throwing "Could not negotiate" exception
Hi Jja.
I think you're using older version of wodFtpDLX.NET. We don't have such exception anymore, and diffie-hellman-group-14-sha1 was added on February 2015
http://www.weonlydo.com/FtpDLX.NET/ftp-sftp-ssl-net.asp?rnotes=1
so, I believe simple update will fix your problem.
Best regards,
Jasmine.
Connect() is throwing "Could not negotiate" exception
Thanks Jasmine! Looks like that's resolved my problem. I've noticed the "LicenseKey" property is no longer valid with this newer version of the FtpDlx class. Would you confirm? Thanks!
Connect() is throwing "Could not negotiate" exception
Hi.
LicenseKey is there, but you probably downloaded DEMO from our website. If you're licensed customer, you should request update from our website at
http://www.weonlydo.com/index.asp?update=1
and obtain it through our customer support system.
Kind regards,
Jasmine.
Connect() is throwing "Could not negotiate" exception
Excellent! Thanks for your quick help Jasmine!