Heya Ricardo,

There is a tag called cf_deleteDirectory which does recursive
Deleting of directories.. So even if your directory contains
Directories nested 10 deep.. It will delete everything underneath
It..

Let me know off list if you have trouble tracking it down and
I can send you a copy.

Regards,

Adam Chapman
Virtualtours.com.au
mailto:[EMAIL PROTECTED] 

Phone: 1300 366 122
Int: +61 3 9720 5733
Fax: +61 3 9720 6377

-----Original Message-----
From: Ricardo Russon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 27, 2004 9:56 AM
To: CFAussie Mailing List
Subject: [cfaussie] cfdirectory


Thought i posted this the other day, but i can't find my post. So i will

ask again.

Is there any way to delete a directory that is not empty? Do i have to
loop through a folder and delete each file and sub folder?

Does anyone know the reasoning behind why you can only delete empty
folders? I can guess its to stop you deleting something that you want to
keep. 
But thats
why we have a recycle bin.

Basically i have a temp folder within the webroot. i want to be able to 
delete
all folders that are more than 1 hour old, within it.

Thanks
Ricardo.

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to