Setup a scheduled task to delete files older than x Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 4, 2013 7:34 PM, "Robert Harrison" <[email protected]> wrote:
> > Use a delay between sending the file and deleting it, like CFSleep. The > file is being deleted too quickly. I usually give it about 15 minutes. > > > Robert Harrison > Director of Interactive Services > > Austin & Williams > Advertising I Branding I Digital I Direct > 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 > T 631.231.6600 X 119 F 631.434.7022 > http://www.austin-williams.com > > Blog: http://www.austin-williams.com/blog > Twitter: http://www.twitter.com/austin_williams > > > -----Original Message----- > From: Rob Voyle [mailto:[email protected]] > Sent: Friday, January 04, 2013 1:27 PM > To: cf-talk > Subject: Email attachment problem > > > Hi folks > > I have an online classroom that enables participants to email each other > including sending attachments. > The attachments are uploaded to a private temporay directory and then > attached to the email. > After the email is sent i want to delete the file from the temp directory. > If the file is large (several mb) and the list is large the delete > function interferes with the cfmail program, by deleting the file before > all the email is processed. > > Is there a way to tell when the email is sent to automatically delete the > temporary file and/or is there a way to set up routine that would > automatically delete the temp directory every day. > > Thanks > Rob > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353779 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

