in reply to Simple ZIP extractor

Thats kind of nifty. I've been looking at doing something similar to put into our custom module that I've written. For that though, I'll need a few other options, such as path (or lack thereof) and so forth. Though I wish I could completely eliminate the need to have PKZIP on the system, we still need it to extract password protected files.


"Ex libris un peut de tout"

Replies are listed 'Best First'.
Password-protected zips
by rjamestaylor (Acolyte) on Dec 28, 2003 at 22:26 UTC
    I have a script that pulls a password-protected Zip file from a partner's server, extracts the contents, uploads the contents to a servlet and then process the contents to pull related image files from an image server (one of the columns in the zipped file contains an image URL) and, depending on various things, may send the image to another servlet as well.

    For the life of me I couldn't find an abstracted password-processing module so I used a qx// function to invoke RedHat's unzip. Works fine but I'd rather have a different alternative.