File.remove
Last updated
Last updated
Removes an existing file in the server.
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
Description | Output Type |
---|---|
Key | Description | Output Type |
---|---|---|
The action performed if this function runs successfully.
The action performed if this function does not run successfully.
Coming Soon.
Coming Soon.
Coming Soon.
Coming Soon.
Description | Output Type |
---|---|
Description | Output Type |
---|---|
fileName
The name of the file to be removed.
Text
-
-
Yes
folder
The folder path of the 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
Returns an object that contains the file information.
Object
Returns an error message.
Text