cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libssh2 patch 10/15

From: James Housley <jim_at_thehousleys.net>
Date: Thu, 23 Nov 2006 19:52:20 -0500

On Nov 23, 2006, at 5:52 PM, Daniel Stenberg wrote:

> On Sun, 19 Nov 2006, James Housley wrote:
>
>> I will have to look more closely at your changes because it is not
>> working for me now either.
>
> SCP still works for you, right? I can at least still download with
> SCP, haven't tried uploading yet.

I will check, got briefly side tracked. But, this weekend looks good.

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

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Progress (n) : What led from smart users in front of dumb terminals to
dumb users in front of smart terminals.

Received on 2006-11-24