Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
14.9k views
in Java FTP by
Have been using the FTPClient for some pretty simple downloads but have it in a long running thread loop. About every 4-5 days the getter thread hangs. Have been wandering through the code to see if there was anything I should be doing explicitly. Should I be setting an explicit timeout on the FTPActiveDataSocket.setTimeout( someTime) in order to force a timeout on the sock via the FTPActiveDataSocket.setTimeout( someTime)'s call to:

sock.setSoTimeout(millis);

11 Answers

0 votes
by (162k points)
Thanks for the followup.

edtFTPj 1.4.2 (out now) has been modified to report a total at the end of the transfer as well as interim totals every monitor byte interval.

Regarding put() not finishing...

[snip]

Just wanted to follow up :D
W

Categories

...