We are trying to simply change the passwords of files in existing ZIP files.
In order to do so we apparently have to first unzip the files, change the password of the archive,
and then zip the files again.
When doing so with the below sample code the files are apparently added to the archive without a password at all.
Can someone point us in the right direction to what we are doing wrong (why the password is not 1234) after running the code?
And if there is a more efficient way to change passwords of existing files in a ZIP file we would also like to hear about this…