cffile action = "delete"

Description

Deletes a file on the server.

Category

File management tags

Syntax

<cffile action = "delete"
  file = "full_path_name"> 

See also

cfdirectory

Attributes

Attribute
Description
file
Required. The full pathname of the file to delete.

Example

The following example deletes the specified file:

<cffile action = "delete"
  file = "c:\files\upload\#Variables.DeleteFileName#">