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

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

by wodDrazen, Friday, April 07, 2006, 15:27 (6804 days ago) @ lily

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


Complete thread: