cfdirectory

Is it possible somehow to exclude files with cfdirectory?

When using cfdirectory, how could I exclude all cfm files and list all others without specifying the file extensions for all files I want to see, or exclude a specific file like index.html without doing a query of query? I'm looking for something like the following, notice the filter attribute. <cfdirectory directory="#ExpandPath('./')...

ColdFusion, CFDirectory and the French

We have a ColdFusion file library management system that is being taken off an old ColdFusion 4 server and moved onto the new system which is based on ColdFusion 8. All our files and folders are in English, French and Spanish. Using CFDirectory in CF8 to load and display these files and folders is causing two issues with the French and...

cfdirectory on a ColdFusion Mapping

Guys/Gals, I am trying to use CFDirectory to get a file listing of a mapping created in ColdFusion Admin. So far I cannot get the list to populate, but if I reference the physical path the full file list is displayed. Here's the code I'm using: <cfoutput> <cfdirectory action="list" directory="mymapping" name="test"><cfdump var="#test#"...

uploading files to a newly created directory in Coldfusion

I'm having trouble using cffile right before I create a directory. I am using the cffileupload tag and my url attribute is a page that has the following code. Basically the code below creates a new directory and uploads all the images to that directory. However, it fails on the 2nd upload and i get a 500 error in the cffileupload flash o...