Re: is WeOnlyDo.Security.Cwwryptography.KeyManager - WeOnlyDo Discussion board

Re: is WeOnlyDo.Security.Cwwryptography.KeyManager (General questions)

by lily, Monday, April 10, 2006, 15:50 (6801 days ago) @ wodDrazen

Lily,


Here is sample in VB6 how to connect to server with PrivateKey (server must have your public key in that case) using wodFtpDLX component.

----------------
Dim dlx1 As New wodFtpDLXCom
Dim cert As New Certificate
Set dlx1.Certificate = cert

cert.LoadKey App.Path & private.txt

dlx1.HostName = your_hostname
dlx1.Authentication = authCertificate
dlx1.Login = your_login
dlx1.Protocol = SFTP
dlx1.Connect
----------------

Hope I helped.


Drazen

Thank you Drazen, however, the wodFTPDLX.net doesn't have wodFtpDLXCom and certificate. Are you saying for wodFTPDLX.net, I can access it directly from an asp page to treat it as a com component?

What I am doing now, is to use the wodFTPDLX.net to create my own com component, and use it from my ASP page. So far, I have got wodSFTP.net(3.0.4) worked with a temp license, however, since somebody recommended the wodFTPDLX.net to me, I thought this one is more powerful, so I am thinking of use this one instead of the SFTP, but I cannot get this one work since I cannot find out how to get the private key load with this one. I used keyManager, it didn't work. Would you kindly show me the code of how to use public authentication to work? Thank you very much in advance.

Lily


Complete thread: