[
https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40801
]
Himanshu goyal commented on STR-3031:
-------------------------------------
hi Paul,
Thanks for Replying ....
Actually i cant use common-fileupload 1.2 and higher as of now.. but my
problem is also related to the files i am created with my code. and they
even dont get deleted in case of Aborted Request
i tried finding strutsCleanupListener.. but didn;t find much abt it..
plz can u more elaborate on this.. and if u can find the code. plz send me
..or any alternative way to catch the aborted Request and cleanup the files
created for this...
Thanks & Regards
Himanshu Goyal
--
Himanshu Goyal
Trainee System Engineer
Office Nos. 403 & 404, 4th Floor,
Wiekfield IT City Infotech, Nagar Road,
Pune-411014 , India
Mobile : +91-9219631256
Phone (O): 91-020-39846100 Extn: 586
email : [EMAIL PROTECTED]
> 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.