Shane:
Not sure if this is the best way, but I've used the following code to get
around this.
<CFDIRECTORY NAME="theDir" DIRECTORY="#thedirectory#">
<cfoutput query="theDir">
<cfif type EQ "Dir" and name NEQ "." and name NEQ "..">
#lcase(theDir.name)#
</cfif>
</cfquery>
If there's other subdirectories that you don't want to show, try adding more
- 'AND name NEQ "DIRA" AND name NEQ "DIRB" '
Paul
----- Original Message -----
From: "Shane Von Svoboda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 11:51 AM
Subject: [CFTALKTor] RE:CF Directory
>
>
> Hello everyone,
>
> Is there a way to just display directories under a specified path using
> CFDirectory and not the files listed under the specified path? For
> instance I would like to display all the directories available to a user
> so they can choose what folder to upload their image using CFFile. The
> problem I'm running into is that cfDirectory displays all the images
> under the main images root and shows the current and parent directory as
> "." , ".." respectively. Any hints would be greatly appreciated.
>
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Shane Von Svoboda"
<[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: "Paul Giroux - Sympatico" <[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)