I agree that it should not happen. 1. Have you tried the recently released version 1.0.0 ? 2. If the problem persists, try setting the FactoryManager.IDLE_TIMEOUT value to zero (FactoryManagerUtils.updateProperty(client or server, FactoryManager.IDLE_TIMEOUT, 0L) - this disables the idle timeout feature. 3. You mentioned using your own SftpSubsystem - can you attach the code for it, maybe you inadvertently failed to invoke the idle timeout refresh method somehow...
I will investigate further... -----Original Message----- From: Praveen Jala [mailto:[email protected]] Sent: Monday, October 12, 2015 11:45 To: [email protected] Subject: Timeout on Large file transfers Hi, We are using Apache SSHD(0.14.0) for our SFTP server implementation. We have overridden SftpSubsystem class to our requirements. When we are using SFTP server for large file transfers(files of 300GB) we are getting a Timeout error. On seeing the code of SSHD I observe there is a IDLE_TIMEOUT parameter which is causing this error. When I set this to a large value then transfer is happening. Now my doubt is “ Why will a connection will timeout while doing a large file transfer? Since transfer is happening connection shouldn’t timeout. Can anyone let me know how to handle this situation?” Setting a timeout to a large value will not work because if the transfer speed is low there a chances that even this large value also will be crossed. Is there any way to disable this IDLE_TIMEOUT? I request all, to provide answer to this as early as possible? Thanks, Praveen.
