Show TOC

Function documentationCreate Zip Archive Locate this document in the navigation structure

 

This action is used to create a file archive. You can use this action with a file list and/or another looping mechanism in a transaction to add a number of files to a single archive.

Features

The properties for this action are listed in the following table:

Property

Data Type

Access

Use

SourceFileName

String

In and out

Specifies the name of the file to add to the output archive. For example, the file path could be c:\Inetpub\wwwroot\index.htm.

ZipFileName

String

In and out

Identifies the full path and file name of the zip file you want to create. For example, if you want to create the zip file wwwroot.zip, the file path is the following: c:\Inetpub\wwwroot\wwwroot.zip.

RemovePath

Boolean

In and out

Removes the path from the source file when it is added to the zip file to flatten the structure of the zip file. If the value is false, the path is included. Duplicate file names overwrite each other.

Success

Boolean

Out

Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log.