Moo_FolderCopy ( sSource; sDestination );
This functions lets you copy a folder.Parameters
Name | Type | Required | Default | Description |
sSource | String | Yes | The input folder to be copied. | |
sDestination | String | Yes | Where should the folder be copied to. |
Return Value
Returns either a boolean value of true if the folder copy succeeded, or an error code.
Errors
Error Code | Description |
Moo_FolderCopy|Err_1 | Invalid number of arguments. |
Moo_FolderCopy|Err_2 | Invalid source folder input. |
Moo_FolderCopy|Err_3 | Source folder does not exist. |
Moo_FolderCopy|Err_4 | Invalid destination folder input. |
Moo_FolderCopy|Err_5 | Destination folder already exists. |
Moo_FolderCopy|Err_6 | Error copying folder. |
Related Functions