ZipSubDirs
The API class ZipSubDirs can be used within the additional module ASM.
The function creates zip archives per subdirectory of the ASM base directory. The zip file is always named after subfolder (<subfolder>.zip). So, for example, if the base directory is ./asm/zip, only folders found in ./asm/zip are zipped.
Note: The class can be selected in an ASM entry (transfer type API) via the display name (each API class has one) Zip all files within directory recursively.
Example
Assume the ASM root directory ./asm/zip and files in subfolders ./asm/zip/CustomerA and ./asm/zip/CustomerB. After the run of the ASM job, there will be two files in the root directory ./asm/zip: CustomerA.zip and CustomerB.zip (and the empty subfolder CustomerA and CustomerB). File names beginning with a dot (.) and additional subfolder in subfolders CustomerA and CustomerB are ignored. A folder CustomerA will be ignored if there already exists a file CustomerA.zip (there will be entries in the ASM log in that case).
Note: The settings for the backup handling will not be used. The ASM module will only delete the original files if the ZIP archives were successfully created.