Subject: Questions about libssh2_sftp_read()

Questions about libssh2_sftp_read()

From: Nitin Deokate <ndeokate_at_qualys.com>
Date: Wed, 25 Jun 2014 09:48:30 +0530

I tried with 500000 bytes to almost 10MB as buffer size, what I get is 2000
bytes in each case.
You could also try, if you are developer for the same feature.

Thanks
Nitin

On Wed, Jun 25, 2014 at 4:43 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Tue, 24 Jun 2014, Nitin Deokate wrote:
>
>> I have modified the *char* mem[1024]; to *char* mem[2500];
>
> But what if you make it 100000 or 500000 bytes big instead?
>
>> But last response from Daniel says that I should get bigger chunks in
subsequent call, which is not happening. Do I need to change something to
>> get me bigger chunks.
>
> I think 2500 is just too small buffer to get much data with.
> --
>
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-06-25