cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP download of > 2GB

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 2 Oct 2010 22:37:32 +0200 (CEST)

On Sat, 2 Oct 2010, Adam Kellas 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?
>
> Do you also mean that the "curl" tool can download such files in unencrypted
> format without trouble?

You mean using other protocols than SFTP? Yes sure. And with encrypted
protocols as well for that matter, like with HTTPS, FTPS and more.

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