Re: wodSFTP ActiveX with PrivateKey authentication (General questions)
Following code works, make sure public key is copied on the server on appropriate place. wodSFTP ActiveX has to be imported in Delphi:
[code]procedure TForm1.FormCreate(Sender: TObject);
var
v: Variant;
begin
wodSFTP1.Hostname := 'put_your_host';
wodSFTP1.Login := 'put_your_login';
wodSFTP1.Authentication := 2;
wodSFTP1.Blocking := true;
v := CreateOleObject('WeOnlyDo.Keys.1');
v.Load('mykey.ppk');
wodSFTP1.PrivateKey := v.PrivateKeyData[0];
wodSFTP1.Connect();
end;[/code]
Complete thread:
- wodSFTP ActiveX with PrivateKey authentication in - koo, 2004-07-27, 14:54
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-27, 15:17
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-28, 03:16
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-29, 17:19
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-30, 09:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-02, 03:31
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-08-02, 05:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-11, 20:48
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-13, 22:26
- Re: wodSFTP ActiveX with PrivateKey authentication - davi_dk, 2005-11-10, 15:02
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2005-11-10, 16:25
- Re: wodSFTP ActiveX with PrivateKey authentication - davi_dk, 2005-11-10, 15:02
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-13, 22:26
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-11, 20:48
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-08-02, 05:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-02, 03:31
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-30, 09:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-29, 17:19
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-28, 03:16
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-27, 15:17