Ensure edtftpj.jar is NOT in your CLASSPATH.
Yeah I got this working. I had my old edtftpj.jar in the classpath. But now I'm stuck with a different exception.
com.enterprisedt.net.ftp.ssl.SSLFTPCertificateException: Server certificate could not be validated. (use SSLFTPCertificateException.printCertificates to view certificates.)
at com.enterprisedt.net.ftp.ssl.SSLFTPControlSocket.I(Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(Unknown Source)
at com.cypherit.bbrad.server.jobs.FTPThread.initialiseFTPConnection(FTPThread.java:482)
at com.cypherit.bbrad.server.jobs.FTPThread.run(FTPThread.java:645)
I think I have made some mistake in coding as I'm new to ftp. I'll try to figure out the problem. But just in case you have any ideas then please let me know.
FYI, I am using filezilla server and I have also created a certificate using filezilla. Is there any particular location where the certificate has to be stored or should there be any config changes made in filezilla for this certificate?
Thanks