Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 17465 invoked from network); 20 Aug 2004 14:28:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Aug 2004 14:28:15 -0000 Received: (qmail 5647 invoked by uid 500); 20 Aug 2004 14:28:05 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 5565 invoked by uid 500); 20 Aug 2004 14:28:04 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 5538 invoked by uid 99); 20 Aug 2004 14:28:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [159.182.31.4] (HELO ncspsmtp.ncs.com) (159.182.31.4) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 20 Aug 2004 07:28:00 -0700 Received: from iowacexchbrg.ic.ncs.com (Not Verified[10.25.4.190]) by ncspsmtp.ncs.com with NetIQ MailMarshal (v5.5.6.7) id ; Fri, 20 Aug 2004 09:21:20 -0500 Received: by iowacexchbrg.ic.ncs.com with Internet Mail Service (5.5.2657.72) id ; Fri, 20 Aug 2004 09:27:58 -0500 Message-ID: <18968BD835AAB943BB27330F0A080FB208642CFB@iowacexch2.ic.ncs.com> From: "Lane, Brad" To: Jakarta Commons Users List Subject: RE: [File Upload] Unable to delete tmp file Date: Fri, 20 Aug 2004 09:27:55 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N What temp files are we talking about? Does File Upload write the file somewhere other than what I specify with item.write()? -----Original Message----- From: Martin Cooper [mailto:mfncooper@gmail.com] Sent: Friday, August 20, 2004 12:01 AM To: Jakarta Commons Users List Subject: Re: [File Upload] Unable to delete tmp file There is a known problem related to files not being cleaned up until the container (really, the JVM) shuts down. There is also a known fix for this, which will show up in the nightly builds when I find the time to get it in. However, I'm not aware of a bug that would cause the files to not be removed when you explicitly call the delete() method. The most obvious scenario in which this would happen would be if you were somehow keeping the file open elsewhere, so that's worth checking. If you can provide a test case, or a reproducible example, that would help greatly. -- Martin Cooper On Wed, 11 Aug 2004 17:15:11 -0400, Tam, Michael wrote: > Hi all, > > I am running FILE UPLOAD 1.0 with TOMCAT 4.1.29. I can upload files through > a JSP; however, the associated tmp files cannot be removed until TOMCAT > shutdowns/restarts even though I explicitly call > the file item delete function at the end of the upload. > > Any help on addressing this issue is appreciated. Thank you. > > Michael > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.736 / Virus Database: 490 - Release Date: 09/08/2004 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org