You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Martin Cooper <mf...@gmail.com> on 2004/10/12 07:27:41 UTC

Re: [File Upload] Unable to delete tmp file

On Thu, 19 Aug 2004 22:01:27 -0700, Martin Cooper <mf...@gmail.com> wrote:
> 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.

This issue is fixed in tonight's nightly build.

--
Martin Cooper


> 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
> <mt...@pfc.cfs.nrcan.gc.ca> 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