Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
8.9k views
in Java FTP by (360 points)
Hi,

We are using edtftpj-pro.jar (edtftpj-pro-4.1.0).

We are trying to get list of directory using dirDetails() in a loop. At one of our clients, it is observed that after some time the dirDetials() gets into a loop and control does not come back to our code.

Here is the ftp trace -
I have given last two iterations of dirDetails, observe that once we get the Can't open data connection, there is no activitty.
We also tried with the latest version o edtftpj-pro-4.4.0. Still we observed the same problem.

DEBUG [FTPControlSocket] 13

12 Answers

0 votes
by (360 points)
It stops randomly after few days,weeks or months and does not start at all. But if we close all the connections and reconnect it starts again.so if it was network problem then it should not have started.
0 votes
by (162k points)
Are you maintaining FTP connections for weeks at a time? If so that is going to cause problems - you generally should connect, do whatever, and then disconnect.

Categories

...