Is there a way to decompress a zip folder using Su...
# suitescript
m
Is there a way to decompress a zip folder using SuiteScript? The
N/compress
module seems to work to unzip a single zipped file but not a zipped folder (containing multiple files). Thanks.
b
the usual recomendation is to do the unzipping outside of netsuite and send the contents to netsuite instead
if you insist on doing the work in netsuite, then you can JSZip
though you will need to know how to polyfill missing globals
and need to be aware that in general its slow and only works on small amounts of data since large amount of data risks hitting instruction count limits
m
Got it. Thanks once again @battk!