Hi,

In an application that I'm working on I place images in a directory based 
on a department id.
So for the name of the directory I am using the id to ensure distinctiveness.

My problem is that when an administrator removes a department I also want 
to remove the directory.
Of course this is not difficult but just before the directory delete I 
delete all of the images stored in that directory. The CFDIRECTORY tag 
cannot complete since the OS is still deleting the images and returns an 
error saying the directory is not empty.

Can I use CFLOCK or such for this?

Any assistance would be greatly appreciated.

Thanks,

Jay
< > < > < > < > < Strategy ~ Creativity ~ Technology > < > < > < > < > < >

Jay Brushett
[EMAIL PROTECTED]

Developer

< ZeddComm Inc. >
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
< > < > < > < St. John's ~ Toronto ~ Newport Beach ~ Ottawa > < > < > < >



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to