Re: [fileupload] File Size Limit Exceeded - Any method for early detection?

2010-10-04 Thread Mladen Turk
On 10/04/2010 07:58 PM, Rob Podolski wrote: Have I miscounstrued things? Any suggestions? Would the streaming API help? I usually see things like 'Max limit xxx MB' or something on every page that allows you to do some upload. Regards -- ^TM

Re: [fileupload] File Size Limit Exceeded - Any method for early detection?

2010-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 10/4/2010 1:58 PM, Rob Podolski wrote: ServletFileUpload upload = new ServletFileUpload(factory); upload.setFileSizeMax(1000L); will only operate AFTER the file has been received in the servlet request. You could check the

Re: [fileupload] File Size Limit Exceeded - Any method for early detection?

2010-10-04 Thread Martin Cooper
On Mon, Oct 4, 2010 at 10:58 AM, Rob Podolski robpodol...@yahoo.co.uk wrote: Hi, Thanks for putting together Commons FileUpload - can see many advantages in using it.  Whilst looking at the APIs I realised that the detection of files that are larger than the user-defined size limit set as...