订阅

UiPath 活动

UiPath 活动指南

Compress/Zip Files

UiPath.Activities.System.Compression.Workflow.CompressFiles

描述

Adds the specified files or folders to a compressed (zip) file archive.

属性

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

  • Compressed file name - Name of the compressed file to create.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

选项

  • Compression level - How small to compress the file. The higher the compression level the slower it is to compress and decompress. 
  • Name encoding - Text encoding for file names. You can use System default or Unicode (UTF-8).
  • Overwrite existing file - Replace compressed file if it already exists. This option is enabled by default.
  • Password - (Optional) Require the specified password to open the file.

Output

  • Compressed file - Saves a reference to the compressed file as a variable.

UiPath.Activities.System.Compression.Workflow.CompressFiles

描述

Adds the specified files or folders to a compressed (zip) file archive.

In the Body of the Activity

  • Compressed file name - Name of the compressed file to create. Click Browse browse files next to the field, and then browse to select a compressed file to use. You can click Plus plus button on the right side of the field, and then indicate the name using one of the options from the menu:
    • Data from the Project Notebook, a parent Excel file or email account. For example, select an Excel file and then select a cell that contains a name, or indicate a field from a selected email in Outlook that contains a file path.
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Text - Enter the name in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Content to zip - Use the radio buttons to select Files or Folder. Click Browse browse files next to the field, and then browse to select the files or folders to compress. You can click Plus plus button on the right side of the field, and then indicate the path using one of the options from the menu
    • Data from the Project Notebook, a parent Excel file or email account. For example, select an Excel file and then select a cell that contains a name, or indicate a field from a selected email in Outlook that contains a file path.
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Text - Enter the name in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Compressed file - Optionally, save a reference to the compressed file as a variable. Click Plus plus button on the right side of the field, and then select Save for Later Use.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

See in the body of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

选项

  • Compression level - How small to compress the file. The higher the compression level the slower it is to compress and decompress. You can use None, Fast, Normal, or Maximum.
  • Name encoding - Text encoding for file names. You can use System default or Unicode (UTF-8).
  • Overwrite existing file - Replace compressed file if it already exists. This option is enabled by default.
  • Password - (Optional) Require the specified password to open the file.

Output

See in the body of the activity.

7 个月前更新


Compress/Zip Files


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.