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

I found that out just a few minutes ago digging through more documentation on the module. I might see what I can come up with to account for the presence or absence of passwords on those files. Just have to keep playing with it. :-)


"Ex libris un peut de tout"
  • Comment on Re: Re: Password Protected Zip files and Archive::ZIP

Replies are listed 'Best First'.
Re: Re: Re: Password Protected Zip files and Archive::ZIP
by Gerard (Pilgrim) on Dec 17, 2003 at 20:18 UTC
    Please post here, if you come up with anything, I would be interested to hear your results, as I am currently planning a similar scheme.

    Regards,
    Gerard
      My general thought would be since I know if the file is encrypted, to simply pass that in as a parameter and make a system call to an unzip program (PKZIP in our case). Otherwise, simply make use of the Archive::ZIP module routines. Put it together into a small subroutine, pass it the zip file name as a required parameter and the password as an optional parameter. I might post some pseudo-code when I have something put together.


      "Ex libris un peut de tout"