cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl libssh2 sftp 4GB limit

From: <mikep_at_proatria.com>
Date: Wed, 5 Mar 2008 16:38:05 +0000

Hi,

I'm not sure if this is a libssh2 limit or the curl implimentation. If I try to download a file over 4GB I get the file size as (realsize - 4GB) and that small size is the amount that is downloaded. I know that curl with ftp has no problem, so I assume it's libssh2, but I thought it was probably worth a check as someone here may know a solution.

I think the problem is with libssh2_sftp_stat which populates a LIBSSH2_SFTP_ATTRIBUTES structure.

If anyone has any ideas please let me know (I will post to the libssh2 lists and continue looking myself).

-- 
Regards 
Mike Protts
Senior Technical Consultant
Pro:Atria Ltd
+44(0) 870 7656453
Received on 2008-03-05