On Tue, 27 Aug 2013, Velichko Yuriy wrote:

I checked the code again, and unfortunately have not found the answer why the block size is limited by 2000 bytes.

libssh2_sftp_read() always returns 2000 if I ask read bigger block.

So I had to split reading on several steps with less (fixed) block size.

I don't understand what you want. I already explained why it behaves like this and why it is _good_ for most (if not all) users.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to