Hi Brad, The temp file which will be written to the specified repository (file system) when the upload item size is greater then the max memory size.
Yes indeed. Correct me if I am wrong, when you init the DefaultFileUpload you will provide the repository location which is where the temp file will be written to. I think if you don't set it, it will write it to where the default temp folder being set in the environment (i.e. tomcat). Michael -----Original Message----- From: Lane, Brad [mailto:[EMAIL PROTECTED] Sent: August 20, 2004 7:28 AM To: Jakarta Commons Users List Subject: RE: [File Upload] Unable to delete tmp file 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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
