Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
Copying a directory
You can copy a directory by using the copyDirectory function as shown in the following example:
<cfset cfclient.file.copyDirectory(source,destination)> |
Method summary
copyDirectory (source, destination) - copy directory from source to destination
- returns – None
- params
- source – The source directory name with absolute or relative path
- destination – Absolute or relative path of the destination location (excluding directory name)
For instance,
<cfset cfclient.file.copyDirectory('dir2','dir1')> |