Frequently Asked Questions

How to implement wodCertificate with wodFtpDLX in Delphi?

This is how wodCertificate should be implemented in wodFtpDLX using Delphi:

procedure TForm1.FormCreate(Sender: TObject);
var c : wodFtpDLXComLib_TLB.ICertificate;

var tc : TCertificate;
begin

tc := TCertificate.Create(nil);
tc.LoadKey ('c:\PrivateKey.txt','');
tc.DefaultInterface.QueryInterface(WODCERTMNGLib_TLB.IID_ICertificate, c);
dlx1.Certificate := c;
ShowMessage(dlx1.Certificate.PublicKeyOpenSSH);

dlx1.Hostname := 'your_server_name';
dlx1.Authentication := 2;
dlx1.Protocol := 1;
dlx1.Login := 'your_login';
dlx1.Connect1;
end;

Example shows how to connect to server using your PrivateKey with wodCertificate (server needs to have your public key in that case).


 Last updated Thu, Nov 7 2013 11:00pm

Please Wait!

Please wait... it will take a second!