| Contents > CFML Reference > ColdFusion Tags > cffile action = "delete" |
|
|
|
|
||
Deletes a file on the server.
<cffile
action = "delete"
file = "full_path_name">
Attribute |
Req/Opt |
Default |
Description |
|---|---|---|---|
action |
Required |
|
Type of file manipulation that the tag performs. |
file |
Required |
|
Pathname of the file to delete. If not an absolute path (starting a with a drive letter and a colon, or a forward or backward slash), it is relative to the ColdFusion temporary directory, which is returned by the |
The following example deletes the specified file:
<cffile action = "delete" file = "c:\files\upload\#Variables.DeleteFileName#">
|
|
||
| Contents > CFML Reference > ColdFusion Tags > cffile action = "delete" |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p30.htm
Comments
No screen name said on Sep 2, 2003 at 3:55 AM : M_Howard said on Sep 15, 2003 at 12:23 PM : TheoPeters said on Sep 25, 2003 at 11:42 AM : evanb said on Nov 1, 2004 at 12:06 PM : gpsguy101 said on Mar 17, 2005 at 9:57 AM : No screen name said on Oct 10, 2005 at 4:43 AM : Francisco_Dublin said on Mar 24, 2006 at 8:27 AM : Kapitaine said on Jan 8, 2007 at 3:50 PM : morningdew77 said on Jun 6, 2007 at 7:54 AM :