Zip Files

Compresses multiple files or a PAWFileData list into a single ZIP archive.


⬅️INPUT

Parameter

Type

Required

Description

FilePaths

List<String>

✅Yes*

List of file paths to compress

DataFiles

List<PAWFileData>

✅Yes*

List of file data (in-memory)

Password

SecureString

❌No

ZIP password

ZipFilePath

String

❌No

Path of the ZIP file to be created

*FilePath and DataFile are alternatives to each other (OverloadGroup).


➡️OUTPUT

Parameter

Type

Description

IsZipFilesSuccessful

Boolean

Whether the operation succeeded

ZipFilesMessage

String

Result message

ZipFilesResult

Byte[]

Compressed ZIP data (byte array)


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".