www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: RE: Questions about libssh2_sftp_read()

RE: Questions about libssh2_sftp_read()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Jun 2014 01:13:27 +0200 (CEST)

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
Received on 2014-06-25

the libssh2 team