commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Webb" <elihusma...@gmail.com>
Subject Re: [FileUpload] files greater than 2 GB
Date Tue, 05 Jun 2007 19:55:03 GMT
are you using a 64 bit JVM in order to get the 10GB file?

On 6/5/07, Andrew <lists@serff.net> wrote:
>
> That doesn't stop you from uploading a file larger than 2GB though.  You
> must use fileupload 1.2.  1.1 relies on the content length being set if
> I remember right.  But I use FileUpload 1.2 and JBoss (which uses
> tomcat) and we upload 10GB files today over https.
>
> Andrew
> Martin Cooper wrote:
> > The limitation is in the Servlet spec: The getContentLength method
> > returns
> > an 'int'.
> >
> > --
> > Martin Cooper
> >
> >
> > On 6/5/07, Mark Webb <elihusmails@gmail.com> wrote:
> >>
> >> Is there a limitation in tomcat that limits files to 2 GB?  I would
> like
> >> to
> >> write a servlet that will be accepting files larger than 2 GB using
> >> the 64
> >> bit JDK.
> >>
> >> TIA
> >> --
> >> ..Cheers
> >> Mark
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


-- 
..Cheers
Mark

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