Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: temp folder Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 04 December 2010 at 2:33am | IP Logged Quote konmax

Hi All,

I have a question about the temp folder. In another post, I read that it is save to clean it. Just wanted to make sure: Can I clean it every night? What is if a users is online and just tries to download such an attachment on the same time? Is there any problem?

I do use IMAP access to my mail server. I checked the mail folder (APP_DATA) and there is nothing in it (I guess that because of using IMAP). But why are all the attachments getting stored in the temp folder? I found attachments in there which nobody downloaded so far. What is the reason for this temp folder storage?

Many thanks,
Konrad
Back to Top View konmax's Profile Search for other posts by konmax
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 06 December 2010 at 2:49am | IP Logged Quote Igor

Temp folder is used for storing data parsed out of messages, those are mainly attachments, so purging the folder while there are active user sessions might cause data loss. The same folder is used for uploaded files to be used for sending messages out.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 11 December 2010 at 5:19am | IP Logged Quote konmax

Thanks for you answer!

Is there a way to figure out if somebody is a active session (maybe a flag in the database)?

Konrad
Back to Top View konmax's Profile Search for other posts by konmax
 
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 11 December 2010 at 11:26am | IP Logged Quote konmax

Another question: It should be save to delete old files (older than 1 day), right?

Konrad
Back to Top View konmax's Profile Search for other posts by konmax
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 13 December 2010 at 12:09am | IP Logged Quote Igor

Quote:
Is there a way to figure out if somebody is a active session (maybe a flag in the database)?


There's information about last login time in the database, if that might help.

Quote:
Another question: It should be save to delete old files (older than 1 day), right?


Yes, I think it's a safe approach.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide