Subject: Re: not getting file handles

Re: not getting file handles

From: Daniel Stenberg <>
Date: Mon, 1 Aug 2011 21:29:31 +0200 (CEST)

On Wed, 27 Jul 2011, Alessandro Diaferia wrote:

> I'm experiencing some issues with LIBSSH2_SFTP_HANDLEs. Suddenly in my app I
> cannot manage anymore to get valid file handles for files I'm 100% sure they
> exist. And I cannot really track exactly when this happens since it looks
> sudden to me. Every time it occurs, programmatically disconnecting and
> re-connecting my ssh session fixes the issue. Do you have any hint for me?

Do you open many handles? The server might deny you to open any more at any
time it sees fit.

Received on 2011-08-01