Skip to content

压缩#

¥Compression

使用压缩节点压缩和解压缩文件。支持 Zip 和 Gzip 格式。

¥Use the Compression node to compress and decompress files. Supports Zip and Gzip formats.

节点参数#

¥Node parameters

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

节点参数取决于你选择的操作。选择:

¥The node parameters depend on which Operation you select. Choose to:

  • 压缩:根据输入数据创建压缩文件

¥Compress: Create a compressed file from your input data.

  • 解压缩:解压缩现有压缩文件。

¥Decompress: Decompress an existing compressed file.

有关每个操作的特定参数,请参阅以下章节。

¥Refer to the sections below for parameters specific to each Operation.

压缩#

¥Compress

  • 输入二进制字段:输入包含要压缩的二进制文件的输入数据字段名称。要压缩多个文件,请使用以逗号分隔的列表。

¥Input Binary Field(s): Enter the name of the fields in the input data that contain the binary files you want to compress. To compress more than one file, use a comma-separated list.

  • 输出格式:选择是否将压缩输出格式化为 Zip 或 Gzip。

¥Output Format: Choose whether to format the compressed output as Zip or Gzip.

  • 文件名:输入节点创建的 zip 文件的名称。

¥File Name: Enter the name of the zip file the node creates.

  • 将输出文件放入字段:输入输出数据中用于存储文件的字段名称。

¥Put Output File in Field: Enter the name of the field in the output data to contain the file.

解压缩#

¥Decompress

  • 将输出文件放入字段:输入包含要解压缩的二进制文件的输入数据字段名称。要解压缩多个文件,请使用逗号分隔的列表。

¥Put Output File in Field: Enter the name of the fields in the input data that contain the binary files you want to decompress. To decompress more than one file, use a comma-separated list.

  • 输出前缀:输入一个前缀,用于添加到输出文件名。

¥Output Prefix: Enter a prefix to add to the output file name.

模板和示例#

¥Templates and examples

Template widget placeholder.