Re: No value in PrivateKey property. - WeOnlyDo Discussion board

Re: No value in PrivateKey property. (General questions)

by wodDamir, Friday, July 06, 2007, 16:07 (6350 days ago) @ Rob

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: