cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP download of > 2GB

From: Adam Kellas <Adam.Kellas_at_gmail.com>
Date: Sat, 02 Oct 2010 15:46:53 -0400

On 10/2/2010 8:55 AM, Daniel Stenberg wrote:
> It seems that on _some_ servers we fail to download a file over SFTP if
> the file size is larger than 2GB but smaller than 4GB. The size then
> gets intepreted as negative and libcurl used to crash and now it bails
> out. But the question is: why does it claim a negative file size?
>
> The OpenSSH tool sftp seems to be able to transfer the files in all
> these cases so there's something that involves libcurl+libssh2 that
> trigger this weirdness.

Do you also mean that the "curl" tool can download such files in
unencrypted format without trouble?

AK

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-02