cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Pierre Ancelot <eternityos_at_free.fr>
Date: Mon, 22 Nov 2004 21:03:23 +0100

recompile your kernel with LFS, the limitation you have is the usual 2GB linux
limitation.
LFS enabled will get you up to 1TB

On Monday 22 November 2004 20:36, codemastr wrote:
> ----- 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