I have downloaded the last free version of edtftpj-2.3.0, my code works well under java6, but when I migrate to java 7(64 bit version), I always get a connection reset error as below,
Caused by: com.enterprisedt.net.ftp.ControlChannelIOException: Connection reset
at com.enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:1041)
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:1076)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:1000)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:830)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:586)
at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2648)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3664)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3756)
at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:3583)
at com.tian.chub.adapter.ftp.FtpPollingAPI.polling(FtpPollingAPI.java:35)
at com.tian.chub.adapter.ftp.FtpPollingAdapter.consume(FtpPollingAdapter.java:51)
... 4 more
Is it a bug in Java 7 or in edtftpj?