curl-users
Re: Huge files and size-report
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 Jul 2008 23:17:40 +0200 (CEST)
Date: Mon, 21 Jul 2008 23:17:40 +0200 (CEST)
On Mon, 21 Jul 2008, Gisle Vanem wrote:
> I feel curl should do a bit better reporting the true size of huge files on
> platform that doesn't actually support storing >2GB files. E.g. take this
> example from a MSDOS/djgpp built curl:
...
> < 150 Opening BINARY mode data connection for FC2-i386-DVD.iso (4370640896
> bytes).
> * Getting file with size: 2147483647
I can only agree with you. The code should make a (better) separation between
having a usable 64bit variable type and ability to store 64bit data.
But I think this current limitation hurts very few people in some rare edge
cases so it isn't something I'm gonna work very hard to correct myself.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2008-07-21