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