Activities
latest
false
CompressZipFiles - Other latest
Banner background image
logo
Workflow Activities
Last updated 19 févr. 2024

CompressZipFiles

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

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

Overloads

  
CompressZipFiles(IEnumerable<IResource>, String)Adds the specified files or folders to a compressed (zip) file archive.
CompressZipFiles(IEnumerable<IResource>, String, String, ArchiveCompressionLevel, CodePages, Boolean)Adds the specified files or folders to a compressed (zip) file archive, along with advanced configurations of the file.

CompressZipFiles(IEnumerable<IResource>, String)

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

ILocalResource CompressZipFiles(
	IEnumerable<IResource> resourcesToArchive,
	string compressedFileName
)ILocalResource CompressZipFiles(
	IEnumerable<IResource> resourcesToArchive,
	string compressedFileName
)
resourcesToArchive IEnumerable IResource
Specifies the files to be compressed.
compressedFileName String
Name of the compressed file to create.

CompressZipFiles(IEnumerable<IResource>, String, String, ArchiveCompressionLevel, CodePages, Boolean)

Adds the specified files or folders to a compressed (zip) file archive, along with advanced configurations of the file.

ILocalResource CompressZipFiles(
	IEnumerable<IResource> resourcesToArchive,
	string compressedFileName,
	string password,
	ArchiveCompressionLevel compressionLevel,
	CodePages codePage,
	bool overrideExistingFile
)ILocalResource CompressZipFiles(
	IEnumerable<IResource> resourcesToArchive,
	string compressedFileName,
	string password,
	ArchiveCompressionLevel compressionLevel,
	CodePages codePage,
	bool overrideExistingFile
)
resourcesToArchive IEnumerable IResource
Specifies the files to be compressed.
compressedFileName String
Name of the compressed file to create.
password String
Require the specified password to open the file.
compressionLevel ArchiveCompressionLevel
How small to compress the file. The higher the compression level the slower it is to compress and decompress.
codePage CodePages
Text encoding for file names. You can use System default or Unicode (UTF-8).
overrideExistingFile Boolean
Replace compressed file if it already exists.

Return value

ILocalResource

Reference to the created file.

Support and Services icon
Get The Help You Need
UiPath Academy icon
Learning RPA - Automation Courses
UiPath Forum icon
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.