I'm using cfdirectory to recursively list the contents of a folder  
structure.

Unfortunately there are a lot of .svn folders in there and they are  
also getting returned. Anyone have a tip for filtering out folders?  
Currently I'm thinking of doing a query of queries to remove them from  
the result set.

<cfdirectory action="list"
        directory=“#expandPath(”Banners“)#”
        name=“BannerFolders”
        recurse=“yes”
        type=“dir”
        listinfo=“name” />

<cfquery name="BannerFolderNoSVN" dbType="query" >
SELECT * FROM BannerFolders WHERE NAME NOT LIKE '%.svn%'
</cfquery>

<cfdump var="#BannerFolderNoSVN#">

Joris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to