in reply to Password Protected Zip files and Archive::ZIP
Good call, unfortunately the docs provide you with:
isEncrypted()
Return true if this member is encrypted. The Archive::Zip module does not currently create or extract encrypted members.
At least you can check wheter a file is protected, and give a decent error message :)
Or you can first check wheter the file is encrypted and, if so, pass it on to some `unzip` system call. Not nice, but as I see it, it can't be done different (please prove that I'm wrong, anyone :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Password Protected Zip files and Archive::ZIP
by eclark (Scribe) on Dec 17, 2003 at 23:45 UTC | |
|
Re: Re: Password Protected Zip files and Archive::ZIP
by nimdokk (Vicar) on Dec 17, 2003 at 19:29 UTC | |
by Gerard (Pilgrim) on Dec 17, 2003 at 20:18 UTC | |
by nimdokk (Vicar) on Dec 17, 2003 at 20:27 UTC |