There is a custom tag out there called "cf_directorytree" that allows
you to delete entire folder trees that have files in them. You might be
able to use it as a base (pretty sure its unencrypted).

Darryl

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ricardo
Russon
Posted At: Tuesday, 27 July 2004 9:56 AM
Posted To: CFAussie
Conversation: [cfaussie] cfdirectory
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