Unzip files on server with this script

DId this help you out

  • Yes

    Votes: 0 0.0%
  • I dont want to test this out!

    Votes: 0 0.0%

  • Total voters
    1

articulator

New Member
Messages
3
Reaction score
0
Points
0
Hi,

I hope the following trick helps someone.
DId u ever worry about uploading loads of small files aggregating 40-50mbs.

Anyway now you don’t need to worry about uploading file by file just “Zip it up” and with this script click browse and unzip it on your server. Then just do what you need to on your server.

[Please note that this is only an alternate way of unzipping the files when you dont hav access to archive extractor in cpanel.]

How to use

1. Upload pclzip.lib.php and index.php to your server
2. Create a directory named “uploads” in the same place and chmod it 0777
3. Point your browser to index.php
4. Upload your zip file and find it in the “uploads” directory

Easy huh!
 

Attachments

  • unzip_on_server.zip
    33.1 KB · Views: 23
Last edited:

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
cPanel's file manager already does this:

unzipcpanel.jpg


or if you're using legacy

unzipzipcpanel.jpg



Didn't get a chance to try the script, and while I'm sure it'll work, there's not much need if cpanel's already doing it.



Edit: I should note it's not a bad backup plan in case cPanel's option implodes or you plan on changing hosts to one that doesn't use cPanel though. Lord knows cPanel ain't exactly bug-free *glares at DNS issues caused not particularly long ago thanks to a rogue cPanel update*
 
Last edited:
Top