commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarath Ambadas" <sarath.amba...@gmail.com>
Subject Re: problem with files > 2G
Date Fri, 23 May 2008 03:37:31 GMT
If your methods are using int primitive data type, check if they are failing
at that point. I faced similar problem when I was handling 2 GB files. I had
to change all to long.



On 5/22/08, Kumar Kadiyala <kumarkvgk@yahoo.com> wrote:
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message