I'm trying to get a list of directories using the <CFDIRECTORY tag but the return dataset is only displaying the files in the directory and not the sub-directories. The directory I'm attempting to query has 1 file and many sub-directories but the result only returns the single file. Does any one have any idea where I should look?
Here's the code - could there be some sort of Admin Setting that prevents the directory files from showing?
<CFQUERY DBTYPE="query" NAME="FilesQuery">
SELECT Directory,Name,DATELASTMODIFIED,Size,Type FROM DirectoryQuery
ORDER BY Directory,Name,DateLastModified desc