Hey guys,
quick question.
I you allow users to attach a file to a post, then they navigate away from the page, what is an easy way of getting rid of the unused files?
Thanks!
Getting rid of unused attachments
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Getting rid of unused attachments
Put the uploaded files in a holding directory until they complete the post. Use a cron to delete files out of the holding directory.
(#10850)