Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.3k views
in Java FTP by (500 points)
i am implementing the SSHFTPClient where i need setHostValidationEnabled(true).Kindly let me know which methods are neccessary for enabling the host validation.I am kind of lost in the api.urgent...........

1 Answer

0 votes
by (162k points)
This is to force validation of the server (or the connection fails). There are two ways

1) using a known_hosts file (http://www.enterprisedt.com/products/ed ... hosts.html)

2) using the server's public key file

(http://www.enterprisedt.com/products/ed ... yfile.html)

Categories

...