Subject: Re: [libssh2] Non-blocking rename issue

Re: [libssh2] Non-blocking rename issue

From: James Housley <>
Date: Mon, 17 Sep 2007 20:08:07 -0400

On Sep 17, 2007, at 3:29 AM, wrote:

> Hello.
> A quick question on a strange behaviour i obtained when using a
> remote rename with libSSH2 API.
> I'm currently using a non-blocking implementation.
> If i try to rename a remote existing file everything works. If i
> try to rename a not existing remote file what i get in return is an
> infinite loop with a LIBSSH2_ERROR_EAGAIN returned back each time i
> call libssh2_sftp_rename.
> Any clues on this?

I would check your code, cURL has a test to check this case and it
does work correctly.


/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
                 The Power to Serve
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
libssh2-devel mailing list
Received on 2007-09-18