cfclient.file.copy

Copying a file

You can copy a file from one location to another location on the device by using the copy function as shown in the following example:

<cfset cfclient.file.copy(source,destination)>

Method summary

copy(source, destination) – copies a  file from source to destination

  • returns - None
  • params

-          source – Absolute or relative path of  the source filename (including the file name)

-          destination – Absolute or relative path of  the destination filename (including the file name)   

 

Examples

See Using the File APIs  

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online