Re: No value in PrivateKey property. (General questions)
Rob,
PrivateKey is a Variant type. Perhaps even sftp.PrivateKey = keys.PrivateKeyData should work. Can you try something like that?
Also, do you have that key as a String (containing ----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY-----)? Perhaps you could enter it manually into a string and pass it to sftp.PrivateKey Property?
That should work. If it doesn't we could probably add that possibility.
Regards,
Damba
Complete thread:
- No value in PrivateKey property. - Rob, 2007-07-06, 14:23
- Re: No value in PrivateKey property. - wodDamir, 2007-07-06, 15:01
- Re: No value in PrivateKey property. - Rob, 2007-07-06, 15:10
- Re: No value in PrivateKey property. - wodDamir, 2007-07-06, 15:36
- Re: No value in PrivateKey property. - Rob, 2007-07-06, 15:45
- Re: No value in PrivateKey property. - wodDamir, 2007-07-06, 16:07
- Re: No value in PrivateKey property. - Rob, 2007-07-11, 11:14
- Re: No value in PrivateKey property. - wodDamir, 2007-07-06, 16:07
- Re: No value in PrivateKey property. - Rob, 2007-07-06, 15:45
- Re: No value in PrivateKey property. - wodDamir, 2007-07-06, 15:36
- Re: No value in PrivateKey property. - Rob, 2007-07-06, 15:10
- Re: No value in PrivateKey property. - wodDamir, 2007-07-06, 15:01