Run a clean up process nightly to remove the files or maybe an hourly basis depending on the number of files created during the timeframe.
-----Original Message----- From: Deepak Gupta [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 4:27 PM To: CF-Talk Subject: cfmail question Hi I am using cfmail to send a zip file created during the code. I am storing the file and the zipped file in a folder. Now after sending an email, i want to delete the file and the zipped file. But when i do cffile action=delete after sending the email ( I mean after the code that sends an email)it doesnt work. Only if i dont delete the file and zipped file it works. I have to delete the files, they are on ftp server and everyday there will be a lot of files created and zipped. How can I delete them as well as email them? Can anyone help with this??/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

