commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timony, Michael" <Michael.Tim...@FMR.COM>
Subject RE: problem with files > 2G
Date Thu, 22 May 2008 21:23:06 GMT
You should test to see what getFileSizeMax() & getSizeMax() show? If
it's smaller than you need try setting getSizeMax().

Also, file size limits could also be set at the OS level, and can also
depend on the filesystem being used.

Luck
Mick



-----Original Message-----
From: Kumar Kadiyala [mailto:kumarkvgk@yahoo.com] 
Sent: Thursday, May 22, 2008 10:50 AM
To: user@commons.apache.org
Subject: problem with files > 2G

Hi,

I am using commons fileupload v1.2.1 and commons io v1.3.2. I have used
the sample code on the commons fileupload site in my servlet. I am able
to upload files as large as 1.8G but if I try to upload a file > 2G, the
upload fails. Specifically, the method parseRequest is returning an
empty list of items. 

List items = upload.parseRequest(i_request);

I have not used
upload.setSizeMax(yourSize);
as I wanted to go with the default of -1. 

What am I missing? Help appreciated

Kumar



      

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message