Create File
The Create File activity creates a new file or directory with the specified name at specified location.
Settings
Field | Description |
---|---|
Is a Directory |
When this field is set to |
Create Non-Existing Directories | When this field is set to true , the activity creates
all directories in the specified path, if they do not
already exist.
If this field is set to false with non-existing one
or more directories in the specified path, it throws an error.
|
Input
The Input tab displays the following fields:
Field | Description |
---|---|
fileName |
The path and name of the file to create. Set the Is a Directory field to |
overwrite |
Set this field to If the specified file or directory exists and this field is set to |
Output
The output schema displays all the metadata fields of a new file/directory in a read-only format. The metadata object contains fullPath, name, size, mode, modTime
and isDir
fields.
Loop
Refer to the section on "Using the Loop Feature in an Activity" in the TIBCO Flogo® Enterprise User Guide for information on the Loop tab.