nicolasgomollon / ZIPArchive

A cleaned up and modernized fork of ZipArchive by Aish, a class to simplify compressing and decompressing ZIP files in Objective-C.
MIT License
0 stars 1 forks source link

unable to unzip zipped file when supplying password at zip creation #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. [zip CreateZipFile2:zipFilePath Password:zipPassword] 
2. drag created zip to Desktop 
3. double click to unzip

What is the expected output? What do you see instead?

I would expect to be prompted to enter a password to unzip the file, however I 
receive an error message "Error 1 operation not permitted"

What version of the product are you using? On what operating system?
ZipArchive version 1.2 just downloaed from this site.
Mac OSX Snow Leopard

Please provide any additional information below.

If the line: [zip CreateZipFile2:zipFilePath Password:zipPassword]  is run when 
zipPassword is nil I can drag the zip file to desktop and unzip with error so 
the password is the issue

Original issue reported on code.google.com by elpuerc...@gmail.com on 5 Jan 2012 at 7:11

GoogleCodeExporter commented 9 years ago
Typo correction!

If the line: [zip CreateZipFile2:zipFilePath Password:zipPassword]  is run when 
zipPassword is nil I can drag the zip file to desktop and unzip WITHOUT error 
so the password is the issue

Original comment by elpuerc...@gmail.com on 6 Jan 2012 at 7:44

GoogleCodeExporter commented 9 years ago
seems on a Mac anyway if a password is present you get this error, but opening 
a terminal window and using unzip it works fine.

Original comment by elpuerc...@gmail.com on 10 Jan 2012 at 7:22