Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

Chapter 39. System Integration > Server File Management

Server File Management

ColdFusion provides comprehensive server-side file and directory management through a series of tags: <cffile>, <cfcontent>, and <cfdirectory>. <cffile> is responsible for creating and manipulating files; <cfcontent> is used primarily for delivering files of different MIME types from the server to users; and <cfdirectory> handles directory listings and management. Together they provide a set of tools with which you can build complex file-management applications that can be operated from a Web browser.

NOTE

As a server-side technology, ColdFusion does not allow the manipulation of files residing on the client's machine. Client-side file manipulation through a Web browser is heavily restricted, for obvious security reasons. For a user on a standard Web browser, the developer can do little more than ask for the file she would like to upload. Client-side file manipulation can be done only through client-side Java applets, ActiveX controls, or similar embedded executables within the Web browser itself. The user must authorize these programs to have additional privileges on his machine.



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial