Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 39472 invoked from network); 23 Oct 2004 18:47:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Oct 2004 18:47:02 -0000 Received: (qmail 38550 invoked by uid 500); 23 Oct 2004 18:46:58 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 38479 invoked by uid 500); 23 Oct 2004 18:46:57 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 38452 invoked by uid 99); 23 Oct 2004 18:46:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 23 Oct 2004 11:46:55 -0700 Received: (qmail 27354 invoked by uid 50); 23 Oct 2004 18:48:58 -0000 Date: 23 Oct 2004 18:48:58 -0000 Message-ID: <20041023184858.27353.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 31828] - Size Threshold in Commons Upload not Working X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31828 Size Threshold in Commons Upload not Working martinc@apache.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From martinc@apache.org 2004-10-23 18:48 ------- All my testing shows that zero-length files are not written to disk unless you choose to do that after they have been uploaded. If you can provide a test case that demonstrates that I am wrong, then I'll be happy to fix the bug. As for the comments on the design of FileUpload, they really have nothing to do with this bug, and so have no business here. However, note that (a) you can use your own FileItem implementation with DiskFileUpload as long as your factory extends DefaultFileItemFactory, and (b) you can use the FileUpload class to provide your own implementation that is not related to DiskFileUpload (e.g. if you wanted to store the file items in a database). --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org