Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.4k views
in .NET FTP by (360 points)
Good day.

I am using the edtFTPnetPRO version 8.2.0.20 and trying to add a KnownHost to my connection and when I call

sftpConn.KnownHosts.AddKnownHost("myserver","mylocalpubfile")
I dont get an error from the call - but I end up with a null sftpConn.KnownHosts and my connection fails.

am I not setting something up correct for this?

11 Answers

0 votes
by (360 points)
Yes if they want you to choose your username & key that's fine - in that case you need to give them your public key (NOT your private key).


thanks for the fast response!!!!

I will generate both public/private keys again and send them my PUBLIC key that I created from PuttyGEN.

thanks!

Categories

...