Have you tried using CFDirectory with action = delete and recurse = true?

I have not tried it, but in theory should work.

.......................
Ben Nadel 
Web Developer
Nylon Technology
350 7th Avenue
Floor 10
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
 
"Some people call me the space cowboy. Some people call me the gangster of
love."

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 06, 2006 10:52 AM
To: CF-Talk
Subject: Deleting a FILE structure

How would I delete an entire FILE structure (which is generated from a
CFFile Tag)?  Maybe modify the example below somehow (the phrase "fullPath"
is irrelevant)?
 
<cfscript>
    if (IsDefined("SESSION.fullPath")) {
     StructDelete(SESSION "fullPath");
    }
</cfscript>
 
Thanks,
Mark
 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242600
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to