----- Original Message -----
Sent: Friday, December 26, 2003 7:59
PM
Subject: Re: Folder Names
Hey Russell,
You might be getting "type" mixed up with
"filter" attribute.
<cfdirectory action=""
directory="C:/CFusionMX\wwwroot\">
returns all the directories and files in that
directory.
If you use the filter,
<cfdirectory action=""
directory="C:/CFusionMX\wwwroot\" filter="*.cfm">
will return just your ColdFusion
files.
I don't know about a filter just for
directories. You might have to call the whole directory and write some
code to just keep just the directories. But this may be what you're
asking...
Thanks,
Joe Kelly
----- Original Message -----
Sent: Friday, December 26, 2003 6:46
PM
Subject: Folder Names
Hello,
Hope all had a good Christmas. I
did.
I have searched everywhere and cant seem to
find what I am looking for.
I need to see how I can use ColdFusion to give
me a list of folder names in a given directory. I thought you could do
it with <CFDIRECTORY> - according to the Macromedia Developing
ColdFusion MX Applications book that came with the server software, there is
an attribute called type where you can specify file or folder. I think
it is a typo.
Do you know of another way to do
it?
Thanks!
Russell