Re: Using a Certificate in wodSFTP.NET (General questions)
Jeremy,
quite different, since wodFtpDLX.NET uses NET's classes. You should use RSA key from RSACryptoServiceProvider class (same applies for DSA). In order to convert key from wodSFTP.NET as discussed in previous post, install wodSFTP.NET to get wodKeyManager and convert the key (you need to do it just once). Load key to wodKeyManager, then export it to string using wodKeyManager.ToXmlString method. Then code like this should work in wodFtpDLX.NET:[code] System.Security.Cryptography.RSACryptoServiceProvider rsakey = new System.Security.Cryptography.RSACryptoServiceProvider();
rsakey.FromXmlString( );
Ftp1.PrivateKey = rsakey;
Ftp1.Authentication = WeOnlyDo.Client.Authentications.PublicKey;
[/code]
Hope I helped.
Kreso
Complete thread:
- Using a Certificate in wodSFTP.NET - tyrven, 2006-09-14, 00:13
- Re: Using a Certificate in wodSFTP.NET - wodDrazen, 2006-09-14, 00:20
- Re: Using a Certificate in wodSFTP.NET - tyrven, 2006-09-14, 01:41
- Re: Using a Certificate in wodSFTP.NET - wodSupport, 2006-09-14, 01:53
- Re: Using a Certificate in wodSFTP.NET - tyrven, 2006-09-14, 02:29
- Re: Using a Certificate in wodSFTP.NET - wodSupport, 2006-09-14, 01:53
- Re: Using a Certificate in wodSFTP.NET - tyrven, 2006-09-14, 01:41
- Re: Using a Certificate in wodSFTP.NET - wodDrazen, 2006-09-14, 00:20