You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, I added the password to the ZipFile object and that fixed the wrong password error. The problem now is, when reading from the zip file stream, it always shows a count of -1, so no data is being read from the file header from the zip file.
Okay, instead of trying to read and write the zip entries, I changed it to a ZipFile.extractFile based on the file name from the ZipEntry and it extracted all of them successfully. Since I was getting the zipstream from the zip entry, shouldn't the read/write functionality work?
The code that follows, and sorry it's in Kotlin, produces a "Wrong Password!" error.
I have verified the password multiple times, but it always fails with the error including setting the password on the zipfile itself.
The text was updated successfully, but these errors were encountered: