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);