Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
367 views
in Java FTP by (230 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 (51.2k points)
It may be that the server requires both password and public key authentication.  Try setting both.

Categories

...