Shapes

Files and EDI

Archive files

Packs files into a ZIP, TAR or TGZ, unpacks one, or compresses single files with gzip.

Nodes › FilesOpen in Neblex
Good for
Packing and unpacking files
Role
Works on the records in a flow
Find it in
Nodes › Files

When to use it

  • A partner sends or expects a ZIP of many files.
  • Files should be compressed before upload.
  • A ZIP should be protected with a password.

Reach for something else when

Example

Unpack the nightly ZIP from a supplier into one record per file and read each CSV.

  1. Schedule
  2. Archive files
  3. Read file
  4. SFTP

How it works

Settings
Action: ZIP, TAR or TGZ (pack every record's file into one archive named File name), Unpack ZIP, Unpack TAR or TGZ (one record per entry), Compress (gzip) or Decompress (gzip) (each record's file); Field holding the file [contentBase64]; Key connection (optional): a password connection to protect a ZIP with AES-256 or open a protected one.
Output
Packing: one record with the archive file. Unpacking: one record per entry {path, size, modified, file}; archives inside archives are not opened, and entry paths are made safe (no absolute paths, no ..). Files of any size stream through.
More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Archive files under Files, or search for it. Click it or drag it onto the canvas.
  3. Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
  4. Run the flow and click the step to see the records it received and produced.