Author |
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 04 December 2010 at 2:33am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 December 2010 at 2:49am | IP Logged
|
|
|
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 |
|
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 11 December 2010 at 5:19am | IP Logged
|
|
|
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 |
|
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 11 December 2010 at 11:26am | IP Logged
|
|
|
Another question: It should be save to delete old files (older than 1 day), right?
Konrad
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 13 December 2010 at 12:09am | IP Logged
|
|
|
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 |
|
|