Export to GitHub

ziparchive - issue #26

unable to unzip zipped file when supplying password at zip creation


Posted on Jan 5, 2012 by Happy Elephant

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

Comment #1

Posted on Jan 6, 2012 by Happy Elephant

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

Comment #2

Posted on Jan 10, 2012 by Happy Elephant

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.

Status: New

Labels:
Type-Defect Priority-Medium