Archive
Overview
The Archive component allows you to create a ZIP or TAR archive from a set of files. You can also append files to an existing archive, provided it matches the specified format.
Input Parameters
outputFormat
string
✅
The format of the archive file. Options: zip
, tar
.
fileName
string
✅
The name of the output archive file, including the extension.
files
object
❌
List of files to be added to the archive. Each file is represented by its fileId
.
archiveFileID
string
❌
The ID of an existing archive file. If provided, new files will be appended to this archive.
Output Parameters
fileId
string
The unique ID of the newly created or updated archive file.
fileName
string
The name of the archive file.
Instructions
Select Output Format:
Choose between
zip
ortar
as the output format.
Provide File Name:
Specify a name for the archive file, ensuring it includes the appropriate extension (
.zip
or.tar
).
Add Files to Archive:
Upload or select files using their
fileId
.If an
archiveFileID
is provided, new files will be appended to the existing archive.
Processing:
The component processes and creates the archive, returning the generated file’s
fileId
andfileName
.
Use Cases
Batch File Compression: Combine multiple files into a single ZIP or TAR archive.
Incremental Archiving: Append files to an existing archive for ongoing data collection.
Data Backup & Export: Store or transfer multiple files efficiently as a single archive.
Last updated