This content has been marked as final. Show 5 replies
Take a look at the cfdirectory tag.
Thanks for the information,
I must realize an optimistic search of folders and files.
For example in "C:\App\" I have 3 folders Fp_1, Fp_2, Fp_3.
Gives the run "C:\App\Fp_*" I must get the list of the 3 folders.
I use this code:
<CFCOL HEADER="NAME:" TEXT="#Name#">
<CFCOL HEADER="SIZE:" TEXT="#Size#">
I have not a record!
Can you write a correct example code?
you may want to check cf docs on proper use of CFDIRECTORY tag.
(tip: it requires a full absolute path to directory, but has TYPE and
FILTER optional attributes)
The attached sample should return the list of directories. You should also verify that the account the ColdFusion Application Server service runs as has permission to read you directory structure for C:\App.
Thanks for your help,
it works very well.