Jay,

There's a tag cfx_wait in the gallery that might help you.  After the
deleting-images query, you might want to execute this tag to wait x seconds
before processing the next line.

Will
--
[EMAIL PROTECTED] -=- www.lukrative.com
Local-Advertising -=- www.localbounty.com


----- Original Message -----
From: "Jay Brushett" <[EMAIL PROTECTED]>
Newsgroups: dotcom.lists.cftalk
Sent: Tuesday, March 27, 2001 5:08 PM
Subject: CFDIRECTORY question


>
> 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to