Here's one option:
<!----:::: Do a query on the folder --->
<cfdirectory action="LIST" directory="/etc" name="getDirList" filter="*">
<!---:::: Use Query of Query to filter out all non-directory records from
the CFDirectory Listing --->
<cfquery name="getDirsOnly" dbtype="query">
SELECT * From getDirList where Type="DIR"
</cfquery>
hope that helps..
kev..
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: April 2, 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: [CFTALKTor] CFDIRECTORY
Is there a way to return only directories using the cfdirectory tag?
ex:
<cfdirectory action="LIST" directory="/etc" name="check" filter="dir">
Thanks,
Michel
--
"Put your hand on a hot stove for a minute, and it seems like
an hour. Sit with a pretty girl for an hour, and it seems like
a minute. That's relativity."
-- Einstein, Albert
_______________________
Michel Anthony Rouse
Webmaster
Steltor
2000 Peel street, 4th floor
Montreal, Quebec
H3A 2W5
Canada
tel: +1 (514) 733-8500 x-5001
fax: +1 (514) 733-8878
[EMAIL PROTECTED]
www.steltor.com
Toll free in North America: 1-800-675-2991
-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: Michel Rouse <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED])
http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)
-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Kevin Towes" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)