Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 87786 invoked from network); 31 Jan 2008 19:36:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2008 19:36:19 -0000 Received: (qmail 98207 invoked by uid 500); 31 Jan 2008 19:36:06 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 98149 invoked by uid 500); 31 Jan 2008 19:36:06 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 98140 invoked by uid 99); 31 Jan 2008 19:36:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 11:36:06 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.162.180.58] (HELO sqexc02.korem.com) (206.162.180.58) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 19:35:36 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C86440.642CE02A" X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 Subject: Cancel FileUpload ? Date: Thu, 31 Jan 2008 14:35:10 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: Cancel FileUpload ? Thread-index: AchkQGPttzbLkN2QTpC7hSj+WZW6JA== From: =?iso-8859-1?Q?Samson=2C_R=E9jean?= To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C86440.642CE02A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is there a way to close the input stream if I detect that the file is = too big i.e. It throws a FileUploadException. =20 I'm using tomcat 5.5.17 and commons-fileupload-1.2. =20 It seems that even if I close the ServletInputStream, the process of = uploading the file continue ? =20 Any clue ? =20 _____________________________ =20 R=E9jean Samson=20 Analyste programmeur=20 rsamson@korem.com KOREM inc. www.korem.com _____________________________ 680, boul. Charest Est, bureau 120 Qu=E9bec, QC G1K 3J4 Canada T=E9l. : (418) 647-1555 T=E9l=E9c. : (418) 647-1666 Sans frais : 1 888 440-1MAP =20 ------_=_NextPart_001_01C86440.642CE02A--