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

Re: [libssh2] Non-blocking rename issue

From: <tonyspoken_at_libero.it>
Date: Tue, 18 Sep 2007 10:03:01 +0200

Hi,

after having downloaded the latest version of the code and having done a couple of modifications to my original code it worked: after some EAGAIN results it returned back with a -1 error.
Thank you for your help.
Regards,
Antonio

---------- Initial Header -----------

>From : "James Housley" jim_at_thehousleys.net
To : tonyspoken_at_libero.it,"libssh2-devel" libssh2-devel_at_lists.sourceforge.net
Cc :
Date : Mon, 17 Sep 2007 20:08:07 -0400
Subject : Re: [libssh2] Non-blocking rename issue

> 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?
>
>

------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/

-------------------------------------------------------------------------
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