ColdFusion Copy File

You can use the <cffile> tag to create a copy a file on the server.

Example of Copying a File

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

Syntax

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

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