com.enterprisedt.net.ftp.FTPException: OOPS: listen at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:821) at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:531) at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:401) at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:2036) at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:2002) at com.aspire.portal.logcenter.ftp.RemoteFileGetter.getLogFiles(RemoteFileGetter.java:218)
com.aspire.portal.logcenter.ftp.RemoteFileGetter.run(RemoteFileGetter.java:342)
the RemoteFileGetter.java:218 is like this
ftp.connect();
ftp.login();
for(int k=0; k<3; k++){
FTPFile[] files = ftp.dirDetails("."); //line 218
for (int i = 0; i < files.length; i++){
log.debug(files[i].getName());
}
}
RHLinux enterprise, crontab, get files every hour, about 3 files of tiny file-size.
thx for any help :-P