cURL / Mailing Lists / curl-library / Single Mail


Re: SFTP and getting directory

From: James Housley <>
Date: Mon, 9 Apr 2007 16:41:48 -0400

On Apr 9, 2007, at 4:21 PM, Daniel Stenberg wrote:

> On Sun, 8 Apr 2007, James Housley wrote:
>> It looks like I might have some development time over the next
>> couple of weeks. I remember a ways back you mentioned something
>> about the "proper" way that I should use the non-blocking calls to
>> get the directory. I can't find the old email, but I think you
>> said the main part of the work should be done in Curl_sftp_recv,
>> is that right?
> The proper way is still not possible due to the fact that the
> libssh2 API is not yet non-blocking enough for that. We need to
> implement a libssh2_sftp_readdirnb() first. Inspiration on how it
> could act can be taken from the other *nb() functions (which I've
> written).

Okay, then I will hop over there. I will probably run the code by
you before commiting, though


/"\   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?
Received on 2007-04-09