I'm downloading Amazon FBA reports from seller cen...
# suitescript
e
I'm downloading Amazon FBA reports from seller central and then saving them to the file cabinet for processing later on by another script. When the file is >= 1Mb, it downloads a binary/zip file. Does anyone have a JS library for unzipping the file received from the POST request before it is saved to the file cabinet?
b
depends on if the response is base64 or not
if it isnt, then you are basically doomed since netsuite will assume its utf-8 and will destroy the response body by failing to convert it to utf-8