I am trying to transfer file with edtftpj-pro using FTPSWithClientServerValidation. When I tried to connect to the other server, I am getting the following exception. Could you please help me resolve the problem. Please let me know in case more input is required. Thanks!
Switching to FTPS (explicit mode)
ERROR [SSLFTPClient] 21 Feb 2007 09:24:58.593 : Error while verifying server certificate : The server's certificate chain is too long
com.enterprisedt.net.ftp.ssl.SSLFTPException: The server's certificate chain is too long
at com.enterprisedt.net.ftp.ssl.SSLFTPStandardValidator.validateServerCertificate(Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient$2.acceptPeerCertificate(Unknown Source)
at com.enterprisedt.net.puretls.n.B(Unknown Source)
at com.enterprisedt.net.puretls.Z.B(Unknown Source)
at com.enterprisedt.net.puretls.n.E(Unknown Source)
at com.enterprisedt.net.puretls.i.G(Unknown Source)
at com.enterprisedt.net.puretls.SSLSocket.handshake(Unknown Source)
at com.enterprisedt.net.ftp.ssl.B.E(Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(Unknown Source)
at UseFTPSWithClientServerValidation.main(UseFTPSWithClientServerValidation.java:90)