• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

12. Manipulating Files and Directories > 12.1. Working with Directories

Working with Directories

The cfdirectory tag lists directory contents and creates, renames, and deletes directories on your ColdFusion application server. In an application such as a document management system, the cfdirectory tag allows you to do such tasks as list all the documents stored in a particular folder or build a Windows Explorer-style view of files and folders on your server. Because the cfdirectory tag provides direct access to your ColdFusion server’s filesystem, it may represent a security concern depending on the nature of your server environment. If you wish, the tag can be disabled from the Sandbox Security section in the ColdFusion Administrator.

Listing Directory Contents

As just noted, the


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint