File.write
Description
Creates a new file or overrides an existing file in the server.
Input / Parameter
data
The file data to write.
Text
-
Base64, Text, Byte array
Yes
dataType
The type of file content.
Text
-
Base64, Text, Byte_Array
Yes
fileName
The name of the file to write.
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
Output
Returns the formatted information.
Object
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
Callback
callback
The action performed if this function runs successfully.
Returns an object that contains the file information.
Object
errorCallback
The action performed if this function does not run successfully.
Returns an error message.
Text
Video
Coming Soon.
Example
Coming Soon.
Steps
Coming Soon.
Result
Coming Soon.
Links
Last updated