Use this API to get the details of the current file system.


A fileSystem (FS) object.

Method summary

You can get the details of the file system as shown in the example below:

<cfset fSystem=cfclient.file.getFileSystem()>

The file system can be either:

  • Temporary
  • Persistent

The file system object contains two fields:

  • name: Indicates the type of file system - temporary or persistent.
  • root: A directory entry object which is root for that file system. Root contains the following fields:
    • isFile - true if it is a file
    • isDirectory  - true if it is a directory
    • name
    • fullPath
    • nativeURL - denotes the file URL

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy