I've just been dealing with the same issue. I think it has something to do with IIS putting a "hold" on the file. There's a setting you can change in IIS to release files immediately, but our admins won't let me mess with that. In my situation I was able to just wait to do a batch delete later as a scheduled task. I'm still unclear why I can MOVE a file which essentially DELETES it from the directory and puts it in another, yet I can't delete it. I was thinking of renaming the file, then deleting it if I got really pissed. :-)
Greg Luce eDiets.com 3801 W. Hillsboro Blvd Deerfield Beach, FL 33442 [EMAIL PROTECTED] 954.360.9022 x116 -----Original Message----- From: Jeremy Ball [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 2:14 PM To: CF-Talk Subject: cffile delete problem (again) >>I posted this late yesterday and I'm guessing it was lost in >>the deluge of morning posts. So, I'll try again. Please help! I'm using cffile to delete files from my server. I'm also using it to upload files. Uploads work fine. And deleting doesn't give me a cf error. But, it (Windows or CF, I don't know which) appears to be locking the file after I use cffile action="delete". It doesn't actually delete the file and even when I log onto the machine I can't delete the file. It says "Access Denied" and something about how a program may be using the file. The server is NT 4.0. The CF service (CF5) is set to log on with the system account and it has full access to the folder holding my files. Any ideas? Jeremy ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

