in reply to Can't Get Command Line Unzipper to Execute in CGI/Perl Script

I would try creating a very simple test script, with the full path and filename hardcoded, etc, just to prove that the unzipper utility will do what you want.

Assuming that it turns out to be incompatible with the host's system, you're going to need to handle the unzipping yourself. Never fear, someone has already done all the hard work for you and put it on CPAN. I'd suggest trying IO::Uncompress::AnyInflate for simple gzip/zip type files.

  • Comment on Re: Can't Get Command Line Unzipper to Execute in CGI/Perl Script

Replies are listed 'Best First'.
Re^2: Can't Get Command Line Unzipper to Execute in CGI/Perl Script
by socrtwo (Sexton) on Jun 25, 2009 at 15:09 UTC
    The reason I have been using no-frills.exe (based on Delphi Zip) and also CakeCmd.exe, is that they are tolerant of zip corruption. I am trying to unzip corrupt Word and Excel 2007 files, which are in a zipped state. I've tried zlib, it does not unzip corrupt docx and xlsx files even after using the repair function it has.