Welcome Guest Search | Active Topics | Sign In | Register

Temp files cleanup Options
Evgeny
Posted: Monday, May 18, 2009 3:09:50 AM
Rank: Newbie
Groups: Member

Joined: 5/18/2009
Posts: 3
Hi,

We are using the EO.Web.AJAXUploader in conjunction with the OPSWAT Metascan.
The Antivirus check is made on the form submit and files are checked in a buch after uploaded.

The problem is that we're using the RAM drive in order to store the files so that infected files wouldn't hit the filesystem. The size of the disk is very limited and we noticed a strange behaviour of your component of not cleaning up the files straight after the processing.

This behaviour causes the RAM drive to overflow and the application to stop accepting any files to upload.

Can you please clarify the ways to enable the AJAXUploader to clean-up temporary files right after they have been processed?

Cheers,
Evgeny
Isobar Australia
eo_support
Posted: Monday, May 18, 2009 8:50:41 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The temp files are automatically deleted by the uploader from a background timer. The time delay is usually 30 minutes.

I do not believe thee is any way to enable the uploader to clean up temporary files right after they have been processed. However you can handle the uploader's FileUploaded event and move the file away by yourself. The uploader creates several temp files for each upload, the main file is the file that was uploaded by the user (which you should move away), the rest are very small files so it should not be an issue.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.