8 Replies Latest reply on Apr 23, 2008 5:56 AM by Andrei Markavtsov

    fileUpload keeps temp files open

    Vladimir Manolov Newbie

      I am using the rich:fileUpload component with the createTempFiles option set to true in the web.xml.

      When I upload a file it is written in my temp folder with a name similar to:
      1bc2f35a-119380af625--7fff17206.upload

      But my problem is that this file seems to be open and cannot be deleted or moved while the server is running. I wouldn't like to make a copy of it since I am using the fileUpload component for pretty large files. So my problem is how can I reuse the temp file without having to copy it or to shutdown the server? I am using RichFaces 1.2 and Tomcat 6.0

      Any help is appreciated!

      Thanks!