Read File
The Read File activity is used to read a file and place its contents into the output of the activity.
Settings
Field | Description |
---|---|
Read as |
Representation type of content in the file you want to read. You can select from the following options:
With 'Text', output 'textContent' will hold the plain string. With 'Binary', output 'binaryContent' will hold the base64 encoded string. |
Uncompress |
This field specifies whether to uncompress the file using GUnZip format. Select GUnzip to unzip the file. Choose None for no decompression. |
Input
The Input tab displays the following fields.
Field | Description |
---|---|
fileName |
The name and path of the file to read. For example: |
Output
The output schema displays the metadata fields and the file content of the file in a read-only format. This object contains fileContent
in either text or binary and metadata fields, such as fullPath
, name
, size
, mode
, modTime
, and isDir
.
Loop
For information on Loop, see the "Using the Loop Feature in an Activity" section in the TIBCO Flogo® Extension for Visual Studio Code User Guide.