Subject: Re: not getting file handles

Re: not getting file handles

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-01