Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in Java FTP by (260 points)
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

1 Answer

0 votes
by (51.6k points)
Could you please post the relevant lines of the log? The Developer's Guide has instructions on how to turn on logging.

- Hans (EDT)

Categories

...