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

Re: [libssh2] Non-blocking rename issue

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

On Sep 17, 2007, at 3:29 AM, tonyspoken_at_libero.it 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.

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
                      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-09-18