NetSuite SuiteScript - "N/Compress" Module - Compress | Decompress | Archive Files | NetSuite
N/compress Module
Use the N/compress module to compress and decompress files. You can also use this module to archive multiple files in a single file archive such as TAR or ZIP file.
You can compress and decompress individual files by using compress.gzip(options) and compress.gunzip(options).
You can create an archive by using compress.createArchiver() and add multiple files to the archive.
*** Watch our other Videos ****
➡️What is Scheduled Script
• SuiteScript Tutorial - Scheduled Scri...
⏱️⏱️VIDEO CHAPTERS⏱️⏱️
00:00 - Introduction to the N/compress module
01:00 - Using N/compress module in scheduled script
01:10 - Compress and Decompress using gzip and gunzip API in N/compress module
03:30 - Script Record and Script Deployment
03:50 - Execution of Scheduled Script to Compress and Decompress using gzip and gunzip API
04:06 - Checking output
05:45 - Trying to use gzip to compress multiple files
06:35 - Archive multiple files using createArchiver API in N/compress module
08:50 - Script Record and Script Deployment for Scheduled Script to Archive Multiple Files
09:03 - Script Execution to archive files
09:10 - Checking output
#netsuite #compress