cfclient.file.exists

Checking if the file exists

You can determine if the specified file exists by using the exists function as shown in the following example:

<cfset existresponse = cfclient.file.exists(“myNewFile.txt”)>

Method summary

exists(filePath) - check if file exists at specified location

  • returns - true/false
  • params - filePath  Absolute or relative path of the file to be checked (including file name).

 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