Abonnieren

UiPath-Aktivitäten

Die Anleitung zu UiPath-Aktivitäten (The UiPath Activities Guide)

Compress/Zip Files

UiPath.Activities.System.Compression.Workflow.CompressFiles

Beschreibung

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

Eigenschaften

Common

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

Eingabe

  • 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.

Optionen

  • 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.

Ausgabe

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

UiPath.Activities.System.Compression.Workflow.CompressFiles

Beschreibung

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