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
: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
] 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
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
Yeah,
Just write your own folder browser recursive function.
Get this dir, loop over each file / folder.
If Folder call same function again
If file whatever
If .svn skip
Regards
Dale Fraser
http://learncf.com
http://flexcf.com
-Original Message-
From: cfaussie@googlegroups.com
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