Title: Upload Unzipper
Author: ulfben
Published: <strong>13 Septambra 2007</strong>
Last modified: 04 Desambra 2007

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/upload-unziper.svg)

# Upload Unzipper

 By [ulfben](https://profiles.wordpress.org/ulfben/)

[Download](https://downloads.wordpress.org/plugin/upload-unziper.zip)

 * [Details](https://mg.wordpress.org/plugins/upload-unziper/#description)
 * [Reviews](https://mg.wordpress.org/plugins/upload-unziper/#reviews)
 *  [Installation](https://mg.wordpress.org/plugins/upload-unziper/#installation)
 * [Development](https://mg.wordpress.org/plugins/upload-unziper/#developers)

 [Support](https://wordpress.org/support/plugin/upload-unziper/)

## Description

Upload Unziper let’s you upload zip-archives and have them extracted, each file 
properly attached to the current post.

It’s built upon and meant to replace James Revillini’s now-broken [just-unzip](http://james.revillini.com/projects/just-unzip/),
and expands on the original plugin in the following ways:

 * runs all files through WP’s sanitize filter to ensure valid filenames
 * does not attach duplicates
 * does not replace files with the same name
 * correctly deals with nestled directories
 * uses the latest WP core functionality and the latest PclZip version
 * and – perhaps most importantly – it _works_! 😉

In short – it’s a nice way to do batch uploading. I highly recommend you combine
it with an [inline image viewer](https://wordpress.org/extend/plugins/mini-slides/)
and a plugin to better [organize your uploads](https://wordpress.org/extend/plugins/custom-upload-dir/).

### TODO (help needed)

This plugin could do with a few options. As it is, it’ll always unzip archives and
then delete them – which might not always be desired.

There are options for this already used in the plugin so it shouldn’t be a problem,
but I just loath front-end development. Placing a few tickboxes in the ‘upload’-
iframe would do the trick. If you’ve got a few minutes to throw something together,
please email me or post a comment to this plugin.

Options I’d like exposed:

 * delete zip when done (default: true)
 * unzip and attach (default: true)
 * attach zip to post (default: false)Copyright (C) 2007 Ulf Benjaminsson (ulf at
   ulfben dot com).

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
 along with this
program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite
330, Boston, MA 02111-1307 USA

## Installation

 1. Extract the `wp-upload-unzipper` folder and transfer it to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Upload some zips. 🙂

## FAQ

  Can I have the ZIP-file attached to the post too?

Yes. But you’ll have to alter the source. Open `wp-upload-unzipper.php` and set `
$addZipToPost` to `true`.

  Can I keep the ZIP-file on the server?

Open `wp-upload-unzipper.php` and set `$deleteZipWhenDone` to `false`.

  Can I disable the automatic extraction of archives?

Disable the plugin. 🙂

If you’re thinking of contributing a front-end for this plugin, you’d want to check
out `$unzipArchives` in `wp-upload-unzipper.php`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Upload Unzipper” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ ulfben ](https://profiles.wordpress.org/ulfben/)

[Translate “Upload Unzipper” into your language.](https://translate.wordpress.org/projects/wp-plugins/upload-unziper)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/upload-unziper/), check
out the [SVN repository](https://plugins.svn.wordpress.org/upload-unziper/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/upload-unziper/)
by [RSS](https://plugins.trac.wordpress.org/log/upload-unziper/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Last updated **18 taona ago**
 *  Active installations **20+**
 *  WordPress version ** 2.2 or higher **
 *  Tested up to **2.2.3**
 *  Language
 * [English (US)](https://wordpress.org/plugins/upload-unziper/)
 * Tags
 * [batch](https://mg.wordpress.org/plugins/tags/batch/)[unzip](https://mg.wordpress.org/plugins/tags/unzip/)
   [upload](https://mg.wordpress.org/plugins/tags/upload/)[zip](https://mg.wordpress.org/plugins/tags/zip/)
 *  [Advanced View](https://mg.wordpress.org/plugins/upload-unziper/advanced/)

## Ratings

Mbola tsy misy domberina voaray hatreto.

[Your review](https://wordpress.org/support/plugin/upload-unziper/reviews/#new-post)

[Hijery ny  domberina rehetra](https://wordpress.org/support/plugin/upload-unziper/reviews/)

## Contributors

 *   [ ulfben ](https://profiles.wordpress.org/ulfben/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/upload-unziper/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=21&y=17)