File.copy
Last updated
Copies an existing file in the server.
sourceFileName
The name of the source file to copy.
Text
-
-
Yes
sourceFolder
The folder path of the source file. If this input is provided, it will be appended to the storage path.
Text
-
-
No
destinationFileName
The name of copied file.
Text
-
-
Yes
destinationFolder
The folder path of the copied file. If this input is provided, it will be appended to the storage path.
Text
-
-
No
extra
The stored value that is passed to all the callbacks.
Any
-
-
No
Returns the formatted information.
Object
success
Boolean value to denote whether the function was executed successfully.
Text
message
The message to print.
Text
data
Any additional message or data to print.
Text
The action performed if this function runs successfully.
Returns an object that contains the file information.
Object
The action performed if this function does not run successfully.
Returns an error message.
Text
Coming Soon.
Coming Soon.
Coming Soon.
Coming Soon.
Last updated