Re: SocketTimeoutException when copying files using ScpClient

2020-12-21 Thread Lyor Goldstein
>> I understand that I need to increase the WAIT_FOR_SPACE_TIMEOUT = " channel-output-wait-for-space-timeout" But I am not exactly sure how to pass these config values when creating the scpClient. There are 2 options: * Globally SshClient client = SshClient.setupDefaultClient();

SocketTimeoutException when copying files using ScpClient

2020-12-21 Thread Vivek Pareek
Hi, I am trying to use the default setup of SshServer and ScpClient to copy files (v2.5.0). The client can be running on win/linux. I get a SocketTimeoutException when trying to copy a file on a win host. flush(ChannelOutputStream[ChannelExec[id=0,