Zip

ZIP is a compressed archive format used to package one or more files into a single stream.

Creates a zip archive stream that contains a single file from the supplied input stream.

Revision History

0.0.0.1 - Initial release.
0.0.0.6 - Corrected attributes.
0.0.0.7 - Corrected the Node name.
0.0.0.8 - Current release.

Setup Notes

You can add this Node to a Workflow without authentication or external setup.

Methods

The Node exposes one Method for creating a single-file ZIP archive.

Create

Creates a ZIP archive containing one file from the supplied content stream.

Parameter Type Description
Filename String File name to store inside the ZIP archive.
Compression Level CompressionLevel Compression mode: Optimal, Fastest, NoCompression, or SmallestSize.
Stream Stream Readable content stream to store in the archive.
Return Type Description
ZippedContent Stream ZIP archive containing the input file.

Usage Notes

  • The archive contains exactly one file named by Filename.
  • The input Stream must be readable. The Node resets seekable streams to the beginning before copying them.
  • The returned stream is deleted from temporary storage when it is closed.