[
https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40791
]
Niall Pemberton commented on STR-3031:
--------------------------------------
AFAIK Struts 1.2.4 shipped with Commons FileUpload 1.0 - is this the version
you're using?
A new mechanism for deleting temporary files was introduced in FileUpload 1.1
(requires Commons IO) - having said that I believe there were problems with
that which have been fixed in more recent versions. I would suggest you try
upgrading to the latest Commons FileUpload (1.2) and Commons IO (1.3.1)
versions:
http://jakarta.apache.org/commons/io/
http://jakarta.apache.org/commons/fileupload/
> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
> Key: STR-3031
> URL: https://issues.apache.org/struts/browse/STR-3031
> Project: Struts 1
> Issue Type: Temp
> Components: Core
> Affects Versions: 1.2.4
> Environment: Tomcat on linux, with Struts
> Reporter: Himanshu goyal
> Assigned To: Martin Cooper
> Priority: Critical
>
> Hi Martin,
> > could u please help me abt my problem with Temporary files created during
> > aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose
> > remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do
> > the cleanup , ad due to this my Temp folder for the web-server is getting
> > very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating
> > this..
> > my requirement is just to cleanup the temporarily files for aborted
> > requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets
> > loaded locally for virus scanning.. and then gets uploaded to the
> > destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning
> > remains there.. and sometimes it maked the temp folder so much bulky that
> > it impacts performance.
> >
> any help wud be Really Thankful...
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: [EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.