
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Operating System: Windows XP
Platform: Other
Operating System: Windows XP
Platform: Other
|
|
| Bugzilla Id: |
20838
|
| Resolution Date: |
07/Aug/06 08:53 PM
|
|
Current implementation of FileUpload allows to limit only a whole request size
but not size of separate uploaded files. Probably it's reasonable to add a new
property to FileUpload class, say maxFileSize, that will allow to limit size of
separate files?
|
|
Description
|
Current implementation of FileUpload allows to limit only a whole request size
but not size of separate uploaded files. Probably it's reasonable to add a new
property to FileUpload class, say maxFileSize, that will allow to limit size of
separate files? |
Show » |
|
In particular, we want to continue parsing the remaining items even if one item
is a huge file, so we implemented our own FileItem that contains an OutputStream
wrapper that keeps track of the file size but doesn't keep any data for a file
that is too big. Other parts of the system can then see that a file was
uploaded, along with its filename and even its size, but none of the data.