You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jimmi Dyson <ji...@lawton.co.uk> on 2006/01/13 13:17:15 UTC
Maximum file size for Upload component
Does anyone know how to change the maximum file size that can be
uploaded?
Can't see any way to do it. Seems that 10MB is hardcoded into
org.apache.tapestry.multipart.MultipartDecoderImpl.
Any ideas?
Thanks very much.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Maximum file size for Upload component
Posted by Hugo Palma <hu...@gmail.com>.
Sorry, was thinking out loud :o).......this is for the commons fileupload
class obviously....
On 13/01/06, Hugo Palma <hu...@gmail.com> wrote:
>
> Checkout the setMaxSize method in the FileUploadBase class.
> See the javadoc here http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setSizeMax(long)
>
> <http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setSizeMax%28long%29>
>
>
> On 13/01/06, Jimmi Dyson <ji...@lawton.co.uk> wrote:
> >
> > Does anyone know how to change the maximum file size that can be
> > uploaded?
> >
> > Can't see any way to do it. Seems that 10MB is hardcoded into
> > org.apache.tapestry.multipart.MultipartDecoderImpl.
> >
> > Any ideas?
> >
> > Thanks very much.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
Re: Maximum file size for Upload component
Posted by Hugo Palma <hu...@gmail.com>.
Checkout the setMaxSize method in the FileUploadBase class.
See the javadoc here
http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/FileUploadBase.html#setSizeMax(long)
On 13/01/06, Jimmi Dyson <ji...@lawton.co.uk> wrote:
>
> Does anyone know how to change the maximum file size that can be
> uploaded?
>
> Can't see any way to do it. Seems that 10MB is hardcoded into
> org.apache.tapestry.multipart.MultipartDecoderImpl.
>
> Any ideas?
>
> Thanks very much.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: Maximum file size for Upload component
Posted by Shing Hing Man <ma...@yahoo.com>.
Have you checked out the following post from about a
month ago?
http://article.gmane.org/gmane.comp.java.tapestry.user/29717/match=spencer+crissman
Shing
--- Jimmi Dyson <ji...@lawton.co.uk> wrote:
> Does anyone know how to change the maximum file size
> that can be
> uploaded?
>
> Can't see any way to do it. Seems that 10MB is
> hardcoded into
> org.apache.tapestry.multipart.MultipartDecoderImpl.
>
> Any ideas?
>
> Thanks very much.
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org