#234: Unable to read more than 65536 bytes with libssh2_channel_read function
----------------------------------+--------------------
Reporter: jagadish0911 | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: 1.4.0
Component: API | Version: 1.3.0
Keywords: libssh2_channel_read | Blocked By:
Blocks: |
----------------------------------+--------------------
Hi,
I am using libssh2_channel_read function to read some data into a buffer
from SSH channel.
I have more than 3 lakhs bytes of data in my buffer. But using the channel
I could able to store only 65,536 bytes to the buffer in a single call of
the same function.
As a result, I am loosing the data from 65,537th byte to the end.
How can we solve this issue.
Any quick response will be highly appreciated.
Thank you,
Regards,
Jagadish
-- Ticket URL: <http://trac.libssh2.org/ticket/234> libssh2 <http://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2012-01-13