Re: 2GB file upload limit

Matt Nordhoff <[email protected]> Mon, 07 Nov 2005 22:20:07 -0500
Newsgroups gmane.comp.mozilla.devel.unix
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
On 11/07/05 14:53, Thomas Ronayne wrote:
> Philip wrote:
> 
>> This group seems a good place to start.
>>
>> I am trying to find out the root cause of the 2GB browser file upload
>> limitation. Many web pages discuss the fact that no browser supports file
>> uploads larger than 2GB. However, I cannot find any references as to 
>> why there
>> is such a limit.
>>
>> I am interested in the root cause of this limitation. Mostly to answer 
>> customers
>> asking for larger file uploads.
>>
>> - Is there a natural limit in the multipart/form-data specification? I 
>> could not
>> find one.
>> - Have *all* browsers 32 bit counter overflows and no one has built a 
>> browser
>> for larger files?
>> - Other reasons?
>>  
>>
> If memory serves, it's not so much the browser as the file system -- 
> some (emphasis on some) file systems will only let you do the Magic 
> Number (2,147,483,648); your basic 32-bit box. Solaris gets around that 
> with a setting for big files (except that most SPARC boxes are 64-bit, 
> so you go a lot further).
> 
> One does wonder, though, why anybody would be fooling around up- or 
> downloading 2G files with a browser -- ftp, perhaps?

<URL:http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits> 
says most of the filesystems support at least 4 GiB files. Seems silly 
to limit that based on a couple filesystems no computer than can handle 
Mozilla uses.
-- 
Replace the point in my email address with a period to reply. ;-)