cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL doesn't support 64-bits file on Linux

From: codemastr <codemstr_at_ptd.net>
Date: Mon, 22 Nov 2004 14:36:26 -0500

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Monday, November 22, 2004 2:17 PM
Subject: Re: CURL doesn't support 64-bits file on Linux

> On Mon, 22 Nov 2004, Wei Weng wrote:
>
>> If you try to download a large file (bigger than 2GB) on Linux using CURL
>> binary compiled with no special flags (during ./configure), it will give
>> you a "File size limit exceeded" error when exactly 2GB file size is
>> reached.
>
> It doesn't for me and for many other people.
>
> Who would say such a thing? libcurl has no string like nor does it have
> any check for maximum file size, it would instead fail to parse the number
> when used.

That error message looks more like an OS error than one from curl. Like,
maybe you have a limit on filesize. Try using ulimit -f, that will return
the maximum filesize you have permission to create. I suspect that this is
the problem, not curl.

Dominick Meglio
Received on 2004-11-22