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')#>


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