Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List complete directory tree

Status
Not open for further replies.

ZedTheHead

Programmer
Aug 24, 2006
1
0
0
GB
I'm new to Coldfusion and want to list all the files, directories, sub-directories, etc etc in a directory but seem to be missing something. I've tried using cfdirectory but that only returns the current directory's contents, and when I try to do some kind of recursive function, nothing seems to work.

From the few searches I've done on this, it seems that others have had the same problem. Has anyone done anything like this?

Help would be much appreciated.
 
How would I then display a list of files in the root, and click on the folder name to display files in that folder?

--
John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top