Thanks Barney,
I'm already catching it. I was wondering if there's a way to force delete it 
somehow - any process that is still hanging onto it would likely be CF or the 
webserver. On the other hand, how can I find out what's holding onto it? I know 
how to do this on OSX...


Cheers 

Stefan



On 7 Dec 2009, at 15:40, Barney Boisvert wrote:

> 
> If you just want to silently ignore, wrap with CFTRY..CFCATCH and
> nothing in the CFCATCH.  Typically windows has this problem if another
> process has the file open for some reason (or just hasn't cleaned up
> it's handles).
> 
> cheers,
> barneyb
> 
> On Mon, Dec 7, 2009 at 7:37 AM, Stefan Richter <ste...@flashcomguru.com> 
> wrote:
>> 
>> Hi all,
>> what may be causing the following error and what - if anything - could I do 
>> to prevent it? This is on a Windows server with CF8.
>> ColdFusion could not delete the file C:\Inetpub\...\folder\file.ppt for an 
>> unknown reason.
>> 
>> This happens when I run
>> <cfdirectory action="delete" directory="C:\Inetpub\...\folder" recurse="yes">
>> 
>> Regards,
>> 
>> Stefan
>> 
>> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328907
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to