Unzip the multi-line archive in Cordoba

What I want to achieve is to download all parts of the split zip archive into my cordova application (which is already running), and then unzip this multi-page archive so that I can use the files in it.

Using the Cordova plugin "org.chromium.zip" I have already managed to unzip the archives of the ZIP archives. In the multi-user part of zip, I fixed the video file and divided it into parts using 7zip. Then I downloaded all parts of the archive to my device (emulator) and started unpacking the first part. It does not produce an error and unpacks the file with the correct name, but only the size of a little more than one part of the archive. This means that it does not unpack the entire file, but only the part that I unpacked.

Is there a way to unzip multiline archives in Cordoba?

+4
source share
1 answer

Yes sir, there is a way! Try combining all of your multi-page archive files into one shown here: Unzip multi-user volumes of zip files using Java - and then extract this single file.

What you need to do is write the cordova plugin (if one exists) to concatenate, and then transfer the output file to your zip plugin.

+2
source

All Articles