cffile action = "delete"

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

Description

Deletes a file on the server.

Category

File management tags

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#">