Joris de Beer wrote:
> 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.

Check for the "Hidden" attribute which is "H"

We have this sort of thing everywhere:

<cfif qryThisTemplateDirectory.type eq "File" and 
qryThisTemplateDirectory.Attributes does not contain "H">

for .svn and any other junk the OS might throw in.


-- 

Yours,

Kym Kovan
mbcomms.net.au


--~--~---------~--~----~------------~-------~--~----~
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