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:353766 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm