ColdFusion Move File

You can use the <cffile> tag to move a file from one location on the server to another. You also have the opportunity to rename the file if you wish.

Example of Moving a File

The following code moves the source file to the location specified with the destination attribute.


Here's the full syntax of <cffile="move">:

For a more detailed explanation, see Adobe's documentation for cffile="move".