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.
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.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Archive files under Files, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Files and EDI
Create ExcelBuilds an Excel workbook from all records, ready to attach or upload.Nodes › FilesCreate fileBuilds one CSV, JSON or text file from all records.Nodes › FilesRead fileReads a CSV, JSON or text file carried on a record back into records.Nodes › FilesRead EDIReads ANSI X12 or UN/EDIFACT documents into a structure you can map.Nodes › FilesBuild EDIBuilds EDI text from a structure, ready to send to a partner.Nodes › FilesValidate EDIChecks an EDI document's envelope and required business segments.Nodes › Files