Append Files
Learn more about the component and how to use it.
Append Files adds one or more text files to an existing text file.
Take a look at the configuration parameters of the component:

- File Name: name of the file that receives the content from other files.
- Charset: charset of the final file.
- Custom Files Specification: if the option is enabled, it’s possible to inform the files list to the component in a dynamic way.
- Files to Append: list of the files to be added to the original file.
- File Name: name of the file.
- Charset: charset of the file.
- Fail On Error: if the option is enabled, the execution of the pipeline with error will be interrupted; otherwise, the pipeline execution proceeds, but the result will show a false value for the “success” property.
Only the files to be used in this component must be in the current pipeline directory.
{
"fileName": "pipeline-example",
"success": true
}
- fileName: name of the final file
- success: when the call is successful
See below how the component behaves in a determined situation and what its respective configuration is.
- File Name: final_file_final.txt
- Charset: "UTF-8"
- Custom Append Files Specification: enabled
- Files to Append:
[
{"fileName": "file1.txt", "charset": "UTF-8"},
{"fileName": "file2.txt", "charset": "UTF-8"}
]
- Fail On Error: false
- File content: final_file.txt
HEADER
line1
- File content: file1.txt
file1
test
- File content: file2.txt
file2
another test
{
"fileName": "final_file.txt",
"success": true
}
- Final file content: final_file.txt
HEADER
line1file1
testfile2
another test
Last modified 2mo ago