CreateZipFromDirectory

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > File Service >

CreateZipFromDirectory

Service

File

 

Method

CreateZipFromDirectory

 

Description

Creates a zip file from a source directory.

The method is disabled on Jamio Public Cloud.

 

Input

Name

Description

Type

Optional

sourceDirectory

Path of the directory containing the files and directories to include in the output zip file. (Required).

String

 

destinationZipFilePath

Complete path of the output zip file. (Required).

String

 

includeBaseDirectory

True to include the source directory in the output zip file, false to zip only the content of the source directory. (Defaults to false)

Bool

 

overwriteDestinationZipFile

True to overwrite the file specified in destinationZipFilePath if it already exists, false otherwise (an error will be raised). (Defaults to false).

Bool

 

Output

Name

Description

Type

Optional

returnValue

Lenght of the output zip file.

Long