curl-library
Re: libssh2 patch 10/15
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 24 Nov 2006 08:38:58 +0100 (CET)
Date: Fri, 24 Nov 2006 08:38:58 +0100 (CET)
On Thu, 23 Nov 2006, James Housley wrote:
>> Regarding SFTP. Can it be so that the calls we do to libssh2 doesn't really
>> trigger any download. We just do libssh2_sftp_open() and then
>> libssh2_sftp_stat() and then starts waiting for a transfer. Is that
>> transfer then really started at that point?
>
> It is just like fopen() to a file on your disk, the file is only open.
> Nothing comes at you, you have to call fread() to get data. The exact same
> is true with libssh2
Yeah, I was afraid that is the situation. I don't really see the "right"
solution here, given the current libssh2 API. Do you?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-11-24