Zip Actions
There is the sequence to create a zip file.
1.CreateZip
First we use a create zip because it creates a memory representation of a Zip file and returns a handle that must be passed to the other Actions.
CreateZip takes input which is non-mandatory & its use to compress the quality.
returns the zip handle which is of object type.
2.Add Zip
Adds a file to a Zip.
Zip handle, as returned by CreateZip or LoadZip.
Name of the file to be added to the Zip.
Date of creation assigned to the file in the Zip.
Binary content of the file to add.
3. CommitChanges
The Action CommitChanges must be called after adding all the files.Commits any changes made to a Zip in memory.
Zip handle, as returned by CreateZip.
4.GetZipBinary
Returns the binary content of a Zip loaded in memory.
Handle of the new Zip.
Binary content of the Zip file.
*Load Zip
Loads a Zip file into memory and returns a handle that must be passed to other Actions.
*GetFiles
Returns a list of files and directories contained in a Zip file.