FortuneN / cordova-plugin-zeep

Zip compression/decompression for the cordova/phonegap platform
Apache License 2.0
28 stars 37 forks source link

Can I unzip a file with password? #23

Open exonent opened 5 years ago

exonent commented 5 years ago

Hello!

Thx for the plugin. I need to unzip my file using a password. Can I do with your plugin? Whats the command to do "if i can"?

Thx Again!

Melcus commented 5 years ago

There's a fork here that allows for password encrypt / decrypt

 $cordovaZeep.unzip({
            from : zip,
            to   : extracted,
            password : 'your-password'
        }).then(function() {
            console.log('unzip success!');
        }, function(e) {
            console.log('unzip error: ', e);
        });
exonent commented 5 years ago

Thx Mate! im going to try it!! :)