Re: FtpDLX.Net connection with key file (General questions)

by wodDamir, (6412 days ago) @ permission

Hi,

Actually, that is a Public Key. You need a Private Key. Public key is used on server, while private key is used for the client.

the ToXmlString is supported by many Cryptography classes embedded in .Net. However, you can also simply assign the Private key file contents to the PrivateKey Property. I believe that would work too.

I.e:

Ftp1.PrivateKey = line1 + line2 + etc.

Can you try that?

Regards,
Damba

locked

Complete thread: