Hello everyone, can anyone know how to unzip a fil...
# suitescript
k
Hello everyone, can anyone know how to unzip a file using Suitescript?
k
Thanks CD, for this. We tried this using the N/Compress API, but we were not able to unzip it using this API, it requires other zip type file, not .zip
Hey everyone, Let me know if we can achieve this using a script.
e
You’ll have to tell us what type of file it is before we can help any further. Otherwise, we’re just guessing.
k
It's .zip file
b
it will probably be easiest to do the unzipping outside of netsuite
but if you really have to do it inside, you can use jszip
it expects a node or browser environment, and suitescript is neither
so you will have to polyfill in missing globals
for this one, that should be setTimeout and self
k
Thanks battk