Hi Joris,

cfdirectory CAN filter multiple types..

Filter="*.html|*.xml|*.txt"

Alternatively (and less efficiently) you could use QoQ to exclude the
types you don't want.

Regards,
Adam


-----Original Message-----
From: Joris de Beer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2008 2:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Filtering out folders.


Hi Chris,

The filter attribute only filters in matching files, e.g.

This will only list jpegs in a folder.

<cfdirectory action="list"
        directory="#expandPath("Banners")#"
        name="BannerFolders"
        recurse="yes"
        type="dir"
        listinfo="name"
        filter="*.jpg" />

Also, filter only allows one inclusion, but I need to exclude all  
sorts of stuff like .svn, .dsStore, thumbs.db

Regards,
Joris





On 20/09/2008, at 3:42 PM, Chris Velevitch wrote:

>
> Use the filter attribute on the cfdirectory.
>
>
>
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> September meeting: It's Going To Be Brilliant
> Date: Mon 29th September 6pm for 6:30 start
> Details and RSVP on http://apugs2008september.eventbrite.com
>
> >





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