cfclient.file.setFileSystem

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

setFileSystem(fileSystem)

  • 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

Example

<cfclientsettings enableDeviceAPI=true>
<cfclient>

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

</cfclient>

Adobe logo

Sign in to your account