cfdirectory adds recursive support - Little Things in CFMX 7
February 10, 2005
I know I have written recursive custom tags, and functions (more than once) to solve this problem in the past, but now you can just add a simple recurse="true" to your cfdirectory tags in ColdFusion MX 7.0
<cfdirectory action="list" directory="#ExpandPath("./")#" name="dir" recurse="true">
<cfdump var="#dir#">
You can also recursively delete directories. If only you could copy directories recursively (hint hint ColdFusion 8?)
Related Entries
- Build a directory browser with ColdFusion - September 12, 2005
- CFFUNCTION and CFARGUMENT don't support new types in ColdFusion 7 - April 13, 2005
- Hash - March 15, 2005
- Strong Encryption Technote shows undocumented features - February 22, 2005
- CFTIMER - Little things in ColdFusion 7 - February 11, 2005



add to del.icio.us



