Re: Authentication class (General questions)
Thank you for all your answers.
I decided to use your ActivX/Component for SFTP, which works fine. I manage to generate keys, connect with login and password.
Now I'm trying to connect with private/public key, is there any restriction for this method with the evaluation version ?
It doesn't seem to load the private key and do not connect to my server. I've used putty and puttygen to use my private key with psftp.exe and it works, so I think it's not a big problem, only a misunderstanding from me.
There is a part of my source code :
Client is an Automation Object WeOnlyDo.wodSFTPCom.1
Key is an Automation Object WeOnlyDo.Keys.1
Client>>Hostname= my_host
Client>>Blocking = True
Client>>Resume = True
Key>>Load( privkey )
Client>>Authentication = 2 // Public key
Client>>PrivateKey = Key>>PrivateKey(0)
Client>>Connect()
Ferme
Thanks,
Jerome.
Complete thread:
- Authentication class - Jerome Airaudo, 2005-05-31, 15:29
- Re: Authentication class - wodSupport, 2005-05-31, 16:15
- Re: Authentication class - Jerome Airaudo, 2005-05-31, 16:28
- Re: Authentication class - wodSupport, 2005-05-31, 16:34
- Re: Authentication class - Jerome Airaudo, 2005-05-31, 17:17
- Re: Authentication class - wodSupport, 2005-05-31, 18:48
- Re: Authentication class - Jerome Airaudo, 2005-06-02, 16:51
- Re: Authentication class - wodSupport, 2005-06-02, 16:53
- Re: Authentication class - Jerome Airaudo, 2005-06-02, 16:59
- Re: Authentication class - wodSupport, 2005-06-02, 17:02
- Re: Authentication class - Jerome Airaudo, 2005-06-02, 17:12
- Re: Authentication class - wodSupport, 2005-06-02, 17:02
- Re: Authentication class - Jerome Airaudo, 2005-06-02, 16:59
- Re: Authentication class - wodSupport, 2005-06-02, 16:53
- Re: Authentication class - Jerome Airaudo, 2005-06-02, 16:51
- Re: Authentication class - wodSupport, 2005-05-31, 18:48
- Re: Authentication class - Jerome Airaudo, 2005-05-31, 17:17
- Re: Authentication class - wodSupport, 2005-05-31, 16:34
- Re: Authentication class - Jerome Airaudo, 2005-05-31, 16:28
- Re: Authentication class - wodSupport, 2005-05-31, 16:15