So my company has been suffering from intermittent internet connections, minor brown-outs and packet losses. If this happens while the edtFTPj/PRO package is working, the following can sometimes occur (listed below). These two lines infinitely loop, the thread never failing and never exiting.
Obviously there is a bug here where keepAlive() is trying to work at the same time as cancelTransfer(), but does anyone have any short term options that might solve the problem? Unfortunately this isn't reproduceable by us (meaning, we do everything we can to make our internet connection stable and obviously can't mess with it just to test this).
Any suggestions?
2012-06-27 23:59:10,965 INFO [STDOUT][FTPKeepAlive] WARN [FTPConnection] 27 Jun 2012 23:59:10.965 : keepAlive() failed - trashing connection: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.
2012-06-27 23:59:10,965 INFO [STDOUT][FTPKeepAlive] WARN [FTPClient] 27 Jun 2012 23:59:10.965 : cancelTransfer() called
2012-06-27 23:59:40,971 INFO [STDOUT][FTPKeepAlive] WARN [FTPConnection] 27 Jun 2012 23:59:40.971 : keepAlive() failed - trashing connection: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.
2012-06-27 23:59:40,972 INFO [STDOUT][FTPKeepAlive] WARN [FTPClient] 27 Jun 2012 23:59:40.971 : cancelTransfer() called