It looks like you need the public key rather than the private key. Have you converted the Putty public key into OpenSSH?
Hi Bruce,
yes, I converted it into openSSH
It works wenn I add these lines to my code....
ftpConnection.ServerValidation = SecureFTPServerValidationType.None
ftpConnection.AuthenticationMethod = AuthenticationType.PublicKey
ftpConnection.ClientPrivateKeyFile = publicKeyFile
thanks for your help!
As I solved the base-problems I think its time to purchase the pro-version :-)
Chris