Setting the file system

You can set the underlying filesystem for a persistent or temporary storage depending upon how long you want to store the files.

To set the device file system, use the setFileSystem() function.

Method summary


  • returns – None
  • params - String (PERSISTENT/TEMPORARY)

-           PERSISTENT – Permanent storage. Used for storage that should not be removed by the user agent without application or user permission.

-          TEMPORARY – Temporary storage. Used for storage with no guarantee of persistence


<cfclientsettings enableDeviceAPI=true>

<cfset #cfclient.file.setFileSystem('PERSISTENT')#>


Adobe logo

Sign in to your account