[MobileZIP] Unzip error message not getting

Forge Component
(7)
Published on 7 Oct (2 weeks ago) by Prasad Rao
7 votes
Published on 7 Oct (2 weeks ago) by Prasad Rao

Hi,

I think there is an issue in the unzip, code has to be something like below

var source    = $parameters.PathZIP + $parameters.Filename,
    zip       = $parameters.PathToUNZIP;

Zeep.unzip({
    from : source,
    to   : zip
},  function() {
    console.log('unzip success!');
    $resolve();
}, function(e) {
    $parameters.Error = e;
    $resolve();
});

Thanks,

Prasad