Git Product home page Git Product logo

unzipper's Introduction

The Unzipper

The Unzipper extracts .zip and .rar archives or .gz/tar.gz files on webservers. It detects .zip/.rar/.tar.gz/.gz archives and let you choose which one to extract (if there are multiple archives available). As of version 0.1.0 it also supports creating archives.

It's handy if you do not have shell access. E.g. if you want to upload a lot of files (php framework or image collection) as archive - because it is much faster than uploading each file by itself.

Requirements

PHP 5.3 and newer (If you still run PHP < 5.6 you should consider updating PHP. These old PHP versions do not get any security updates and your site may be vulnerable.)

Usage

  • Download unzipper.php and place it in the same directory as your .zip archive.
  • In Browser type URL to unzipper.php

Archive unzipper

  • Choose .zip, .rar archive or .gz file you want to extract
  • (Optional) select an extraction path, defaults to current directory
  • Click "Unzip Archive"

Archive zipper

  • (Optional) Set path to zip, defaults to current directory
  • Click "Zip Archive"

Version

Beta version state, use at you own risk.

License

Released under GNU/GPL v3

Screenshot

Screenshot of unzipper

Updates

Get latest code at https://github.com/ndeet/unzipper

Credits

See contributors on Github

unzipper's People

Contributors

ndeet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unzipper's Issues

files didnt get unzip

Hello mr, i have some issue with your unzipper.php, my issue is when i use unzipper.php and i check back to my folder adn theres a missing file like my routes, resources, and the others of my laravel folder and program that i need it, its all gone or maybe didnt unzip.

Tar unpack

worked fine but tar.gz is only creating a tar file instead of deflating the whole structure. TAR files are not recognized in combo box neither so I cant finish job with this tool. would be great if could be extended.

thank you

Overwrite during extraction?

It doesn't appear to overwrite existing files when extracting, nor have an option to. Would be a nice added feature to have.

Cheers

Memory limit when unzipping large files

Hi Andreas, first of all thanks for your script. I used it today for unzipping a very large file (343 Mb) on a shared hosting server getting issues probably due to the low memory available for PHP processes.
The GUI gave a succees message, but not all files were unzipped (about 15k).
If my speculations aren't wrong (I'm not a real developer) I believe that if unzipping would be done in chunks probably also big files in low memory environments could be unzipped succesfully.
A similar problem was discussed and solved in this stackexchange thread:
https://stackoverflow.com/questions/3263129/un

Archieve gone after zip process done

hello

im on windows server machine ( joomla in windows server ), im trying to create zip backup folder with its content using this script

i saw zipping progress in script loading (archive was created zipper-2021-12-18--18-49.zip.a06500 ) but after the script finished the archive was gone
although i saw notification

Status: Successfully created archive zipper-2021-12-18--18-40.zip
Processing Time: 62.685950994492 seconds

but i cant seem to find it everywhere

i specified folder location as D:\www\files\

where did it go?

PHP Scope and Github link in MD file

Hi,

Upon testing, please may I suggest adding a PHP working environment scope and your Git Hub Link in to the MD file.

I get a white screen on PHP 5.2, but works perfectly on 5.3 and 5.4 via standard hosting Eco systems.

If you require more info, i would be happy to help.

Ps. Thank you for the code, it has saved me hours.

Delete files after packing

Hi,
thanks for this very useful tool! I have a feature idea, but don't know, whether this is possible or not.

Sometimes I need to delete huge amounts of files which takes a lot of time via ftp (unfortunately, I don't have shell access). It would be cool to have an option "delete files after packing" so that only the archive remains, which could be deleted quickly.

Feature Request: .gitignore when zipping

Hi, I know this might be a little off-topic, but If you could build in a "gitignore" functionality in the zipper part it would make this tool stellar for deploying websites from local development to live servers. Some kind of functionality to read the .gitignore files and exclude those files/folders from the zip-file...

php script breaks and displays in browser

Hello Andreas,

I try to run the unzip.php (ftp://{mywebhost}.hu/public_html/unzipper.php) in Firefox and it breaks and displays the scripts as html, the whole portion from exactly this line: "prepareExtraction($archive, $destination); ..." until the very end of the file. Seems that the "->" causes it (in " ->prepareExtraction" ).
And at the end the unzip + zip boxes displayed. (the unbroken html part of the sourcecode).

2019-01-22_220745
2019-01-22_220801

Is it common or just happens at my settings? Why is this happening?
Thanks a lot, man! Best wishes,
Wiktor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.