Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Password Protected Zip files and Archive::ZIP

by eclark (Scribe)
on Dec 17, 2003 at 23:45 UTC ( #315417=note: print w/replies, xml ) Need Help??


in reply to Re: Password Protected Zip files and Archive::ZIP
in thread Password Protected Zip files and Archive::ZIP

Because of this limitation, I am using Info-ZIP's unzip in a system call. It is not very elegant but it works.

system("unzip -L -P $password -n $zipfile -d $outputdir"); my $retcode = ($? >> 8); if ($retcode) { ## abnormal failure die "unzip returned abnormal exit code $retcode"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://315417]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-05-25 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?