Description
Copies the contents of a directory to a destination directory.
Returns
Nothing
History
ColdFusion 10: Added this function.
Copies the contents of a directory to a destination directory.
Nothing
ColdFusion 10: Added this function.
directoryCopy (source, destination[ , recurse][, filter])
Parameter |
Description |
---|---|
source |
Absolute pathname of directory from which you copy content. |
destination |
Path of the destination directory. If not an absolute path, it is relative to the source directory. |
recurse |
By default, false. If true, copies the subdirectories. |
filter |
File extension filter applied, for example, *.cfm. |
directoryCopy(sourceDirExists,destDirExists,true,"*.cfm")