cfclient.file.remove

Deleting a file

You can delete a specified file on the device as shown by the following example:

<cfset removeresponse=cfclient.file.remove(“myNewFile.txt”)>

Method summary

remove(fileName) - deletes file specified by filename

  • returns - true for successful removal
  • params
    • filename – Absolute or relative path of the file to be deleted (including the file name)

Get help faster and easier

New user?