copyfile
Copy a file from one location to another within a website.
[copyfile from=folder_one/file_one.txt&to=folder_two/file_two.txt]
Parameters
Parameter | Description |
---|---|
from | The path to where the existing file is, including the file's name |
to | The path to where the file is to be written/copied to, including the file's existing or new name |
secure | v8.6.5+ (optional) T (true) or F (false). If left unspecified then false is assumed. |
[copyfile] can be used to copy any type of file.