
Kanji
User
/ Moderator
Aug 12, 2000, 5:35 AM
Post #2 of 2
(1383 views)
|
Re: NEED SCRIPT TO UNZIP A LRGE ARCHIVE FROM THE WEB
[In reply to]
|
Can't Post
|
|
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> #!/usr/bin/perl $|++; print "Content-Type: text/plain\n\n"; system( "/path/to/unzip", "/path/to/yourfile.zip" )&& print "Oh dear: $!";</pre><HR></BLOCKQUOTE> If your server doesn't support unzip, ask them to install it or install it yourself. Alternatively, you can always try to write your own unzippers with either Compress::Zlib or Archive::Zip, although you may have to install those yourself, too.
|