You should telnet/scp (scp preferred) over to your web server and find out what compression utilities are installed. I have used unzip and bzip2 -d to successfully unzip zip files created on Windows platforms. I have found, in my experience, that gzip -d and gunzip don't handle such zip files.

As for uncompressing from a Perl script, you would probably make your task easier by using a CPAN module instead of forking and execing a shell, something like Archive::Zip or Compress::Bzip2 (and your prerequisite "I can't install modules" is wrong - please read this.)

Hope this helps :)

UPDATE: (today is UPDATE day, by the way)
Found some relevant docs in the gunzip man page:

Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method. This feature is only intended to help conversion of tar.zip files to the tar.gz format. To extract zip files with several members, use unzip instead of gunzip.

UPDATE 2: (told ya)
Disregard everything i have said about bzip2 ... i thought i had used it in the past, but that was something else ... bzip2 only decompresses zip files that have been created with bzip2.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

In reply to Re: Unzipping a file by jeffa
in thread Unzipping a file by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.