You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by 贺齐 <fo...@gmail.com> on 2007/09/20 08:29:58 UTC
how to limit the file size uploading?
Hi ,
I am using fileupload 1.2 and wonder how to limit the file size
user uploading? Thank you
Regards
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: how to limit the file size uploading?
Posted by xiaofeng <en...@gmail.com>.
FileUploadBase.setFileSizeMax(long)
then you can catch FileUploadBase.FileSizeLimitExceededException.
On 9/20/07, 贺齐 <fo...@gmail.com> wrote:
>
> Hi ,
> I am using fileupload 1.2 and wonder how to limit the file size
> user uploading? Thank you
>
>
>
>
>
>
>
> Regards
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
--
>_<