You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/20 01:28:13 UTC
[Commons Wiki] Update of "FileUpload" by TorO
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The following page has been changed by TorO:
http://wiki.apache.org/commons/FileUpload
The comment on the change is:
Added a Q about the possibility to drop file items when maxSize is exceeded.
------------------------------------------------------------------------------
= FAQ =
||Add your questions/answers here.||
+
+ '''Q:''' When parsing a multipart request that exceeds the maxSize or if a file exceeds the maxFileSize, is there any way to drop the file/files from the parsing process and still return the field items?[[BR]]
+ I though of putting the field items in the query string but haven't tested it. Even if it would work, it wouldn't be a handsome solution!
'''Q:''' I'm using a DiskFileItemFactory from FileUpload 1.2.1. In the Resource Cleanup section of [http://commons.apache.org/fileupload/using.html the User Guide], the following code is shown:[[BR]]
return new DiskFileItemFactory(fileCleaningTracker,[[BR]]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org