cfclient.file.getFileSystem

Description

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

Returns

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

Get help faster and easier

New user?