Archive Index
This month's Index
|
Subject: Re: libssh2_sftp_read reads a number of bytes smaller than both the file size and the specified buffer size
Re: libssh2_sftp_read reads a number of bytes smaller than both the file size and the specified buffer size
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Apr 2012 08:52:18 +0200 (CEST)
On Tue, 3 Apr 2012, Adam Craig wrote:
> That still does not explain why the file downloads in 2K chunks, but that
Why is that an issue at all? That's just a detail of the libssh2
see src/sftp.h:
#define MAX_SFTP_READ_SIZE 2000
2K is not a magic number in any way, but I did a series of SFTP transfer
As for documentation, now that you've learned how the functions work, please
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2012-04-04 |