commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ward <>
Subject Re: [FILEUPLOAD] Problem with huge files (>2GB)
Date Wed, 04 Mar 2009 12:40:02 GMT

I didn't set an file upload limit, so it uses the default (which is 
unlimitted, and not 2GB)
I'm using a Tomcat serer, but I don't think the problem lies there...
(I set maxPostSize on 0 which means unlimited)



Raghuveer.V schreef:
> I understand you have a problem of file upload size limit.
> Check the docs if it has defult size of 2 GGB.
> I used upload which is with struts.
> In struts which uses commons-upload ,the upload size can be controlled 
> in struts-config.xml file
> <controller bufferSize="8192"  maxFileSize="100K"
> Let us see if some one suggests a alternative solution.
> ----- Original Message ----- From: "Ward" <>
> To: <>
> Sent: Wednesday, March 04, 2009 5:47 PM
> Subject: [FILEUPLOAD] Problem with huge files (>2GB)
>> Hello,
>> I'm currently working on a web application which sould be able to deal
>> with large multimedia-files.
>> For uploading the files I'm using the Apache Commons FileUpload library.
>> This works great for files up to 2GB, but when I try it with files
>> larger than 2GB, things go wrong:
>> The upload doesn't start, in fact, the doPost()-method of the Servlet
>> which handles the upload-request is never called.
>> I think this might have something to do with the contentLength-property
>> of ServletRequest, which is an integer (so contentLengths > 2GB would
>> cause an overflow), but I'm not sure this is the problem.
>> So: is it true that the maximum size of a post to a servlet cannot
>> exceed 2GB?
>> And is there somenone who could giveme some hints about how to make it
>> possible to upload huge files? Files-sizes up to 50GB and more should be
>> supported (raw and un-encode videofiles that are)
>> Thanks in advance, you would really help me out!
>> Grtz
>> Ward (Belgium)
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail: 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message