This month's Index
Subject: [SFTP] Is there a way to determine the maximum buffer len when reading.
[SFTP] Is there a way to determine the maximum buffer len when reading.
From: Velichko Yuriy <velichko.yuriy_at_gmail.com>
Date: Fri, 23 Aug 2013 00:47:41 +0300
I tried to read data from file using function libssh2_sftp_read(3).
The buffer_maxlen = 8000
But the "Number of bytes actually populated into buffer" (the return value
The documentation says :
libssh2_sftp_read(3) will attempt to read as much as possible however it
So the question: "2000" bytes is the limit of the "socket", or server, or
Can I determine this limit programmatically?
Of course if this is not available I will read data smallest blocks ( as
-- Best Regards!