commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atharva <rwan...@celoxis.com>
Subject When does FileUpload delete the temp file?
Date Mon, 09 Jul 2012 06:07:55 GMT
I using FileUpload 1.2.2. In my case I'm keeping a handle to the File object
I get by calling  DikeFileItem.getStoreLocation(). I process the file in the
same thread, but many times the underlying file object is gone by the time I
get to process it. I'm setting the file cleaning tracker to null by calling
factory.setFileCleaningTracker(null).

I'm making sure that File object is not being de-referenced. So what could
be the problem?

--
View this message in context: http://apache-commons.680414.n4.nabble.com/When-does-FileUpload-delete-the-temp-file-tp4636032.html
Sent from the Commons - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message