fileCreate
Version 22.0.8473
fileCreate
Version 22.0.8473
Creates a text file, and optionally writes to it.
Required Parameters
- file: The name of the file to be created.
Optional Parameters
- force: If force is set to true, the operation will create missing directories. The allowed values are ‘true, false’. The default value is ‘true’.
- data: The data to be written in the file.
- mode: The mode of writing. The allowed values are ‘truncate, append’. The default value is ‘truncate’.
- encoding: The encoding of the file. The default value is ‘UTF-8’.
Output Attributes
- file:file: The full path of the file created.
- file:cdate: The creation date of the file.