Subject: RE: Questions about libssh2_sftp_read()

RE: Questions about libssh2_sftp_read()

From: Nitin Deokate <ndeokate_at_qualys.com>
Date: Thu, 26 Jun 2014 09:34:13 +0530

Any idea how to get those numbers?

-Nitin

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

I implemented that feature. I've tried it a lot. I don't know why you don't
get more. What's the latency/RTT to the server from your client?

--
  / daniel.haxx.se
*From:* Nitin Deokate [mailto:ndeokate_at_qualys.com]
*Sent:* Wednesday, June 25, 2014 8:42 AM
*To:* libssh2 development
*Subject:* Questions about libssh2_sftp_read()
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-26