for a password protected zip, if read with checkPasswordOnly, unable to getData, always return undefined
e.g. a zip with a json file and password test : d.zip
let zipReader = new ZipReader(new BlobReader(file), {
checkPasswordOnly: true,
password: 'test'
});
const entries = await zipReader.getEntries();
const content = await entries[0].getData(new TextWriter()); // will return undefined
if not set checkPasswordOnly, the content will be returned, but how to check if the zip was set the target password or not?
zipReader can read anyway for a non-password zip without checkPasswordOnly, unable to check if the right password was set. meanwhile unable to getData with checkPasswordOnly
for a password protected zip, if read with
checkPasswordOnly, unable to getData, always returnundefinede.g. a zip with a json file and password
test: d.zipif not set
checkPasswordOnly, the content will be returned, but how to check if the zip was set the target password or not?zipReader can read anyway for a non-password zip without
checkPasswordOnly, unable to check if the right password was set. meanwhile unable togetDatawithcheckPasswordOnly