Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
77 views
in Java FTP by (200 points)

I am using SSHFTPClient for connection following is my code for connection

client authentication=>Public private keys

sshFtpClient.setAuthentication(clientCertificateFile,user, password);

sshFtpClient.connect();

exception=>Connection to the requested FTP server could not be established. Could not authenticate SSH client: PARTIAL

1 Answer

0 votes
by (44.4k points)
It may be that the server requires both password and public key authentication.  Try setting both.

Categories

...