I've a custom tag that does exactly that here:

http://www.depressedpress.com/DepressedPress/Content/ColdFusion/CustomTa
gs/DP_FileFind/Index.cfm

Hope it helps,

Jim Davis

> -----Original Message-----
> From: Jason Miller [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, November 22, 2002 11:18 PM
> To: CF-Talk
> Subject: Compiling List of Files in specific folders
> 
> 
> Sorry for posting this - it does seem like it should be a 
> simple/novice 
> thing to find a sample and do but I have been unable to get 
> it. I simply need to have cf sniff out all .html maybe all 
> html that start 
> with a certain prefix - and compile a list of the files 
> available in a 
> directory.
> 
> I tried using strict naming on files and set a cfif 
> fileexsits in a loop 
> - but it was ugly - real ugly. Can anyone simply throw out a 
> hint as to 
> which direction and code I really should use.
> 
> Needs to be simple, quick and lightweight - It is for a VERY 
> VERY small 
> site I simply do not want to have to keep adding links to as 
> files are 
> created. No database involved. It's also hosted so custom tags are 
> really a long shot.
> Thanks a bunch in advance.
> Jay Miller 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to