Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
664 views
in Java FTP by (120 points)
No matter what I set the timeout on my SSHFTPClient object to, it always seems to timeout after 6 seconds. Here is some debug output:

DEBUG [TransportProtocolCommon] 2 Nov 2015 14:17:28.469 : Sending SSH_MSG_USERAUTH_REQUEST
DEBUG [SshMessageStore] 2 Nov 2015 14:17:28.471 : Waiting for max 60000 ms
DEBUG [TransportProtocolCommon] 2 Nov 2015 14:17:34.471 : Timeout on transport inputstream
WARN [TransportProtocolCommon] 2 Nov 2015 14:17:34.472 : The Transport Protocol thread failed: Read timed out

As you can see, despite the wait time being 60 seconds, the thread aborts after 6 seconds. Is this by design? I have no control over the remote server. Is there any way I can get this to work?
by (163k points)
What version are you using?
by (120 points)
We are using 4.5.0
by (163k points)
Probably best to upgrade to the latest version, as 4.5.0 is quite old.

Please log in or register to answer this question.

Categories

...