I'm away from my copy of CFServer right now (new job, doing mostly VB at the
moment), so I couldn't test this, but another option would be to try making
the filter attribute "*."  (that's an asterisk followed by a dot).  I
remember that in the old DOS days a DIR *. would give you just a listing of
directories, so that might work.

CF would be:

<cfdirectory action="LIST" directory="/etc" name="getDirList" filter="*.">

Bob

----- Original Message -----
From: "Kevin Towes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 5:03 AM
Subject: RE: [CFTALKTor] CFDIRECTORY


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

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Bob Silverberg" <[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)

Reply via email to