Two new objects called CompressorObject and ExtractorObject are added to compress and decompress the folder or file(s), or the byte data stream. The supported compression formats include ZIP, 7ZIP, GZIP and TAR, and the ZIP and 7ZIP formats support AEM-256 encryption for password; the supported extraction formats include ZIP, 7ZIP, RAR, GZIP, TAR, LZMA, and LZMA86.
For more information about these objects, refer to the section called “CompressorObject object” in Objects and Controls and the section called “ExtractorObject object” in Objects and Controls.
For syntax of compressing files or data stream, refer to the section called “Compress” in PowerScript Reference; for syntax of extracting a compressed archive or data stream, refer to the section called “Extract” in PowerScript Reference; for code examples on compressing and extracting files with the HTTPClient object, the RESTClient object, or the OAuthClient object, refer to the section called “Compressing and extracting data” in Application Techniques.