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

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online