unzip

Unzipping larger files with PHP

Hi, I'm trying to unzip a 14MB archive with PHP with code like this: $zip = zip_open("c:\kosmas.zip"); while ($zip_entry = zip_read($zip)) { $fp = fopen("c:/unzip/import.xml", "w"); if (zip_entry_open($zip, $zip_entry, "r")) { $buf = zip_entry_read($zip_entry, zip_entry_filesize($zip_entry)); fwrite($fp,"$buf")...

Unzip .tbz compression format in C#

The title pretty much states it. Is there a way for me to unzip .tbz files in C#? Either using a third party library or just using normal libs to unzip .tbz files? ...

How can I unzip a .gz file with PHP?

I'm using CodeIgniter and I can't figure out how to unzip files! ...

Poor Performance of Java's unzip utilities

I have noticed that the unzip facility in Java is extremely slow compared to using a native tool such as WinZip. Is there a third party library available for Java that is more efficient? Open Source is preferred. Edit Here is a speed comparison using the Java built-in solution vs 7zip. I added buffered input/output streams in my origi...

ZipArchive php class extract files as root. Why?

I have a php script: $extract_dir = "./"; $extract_file = "extractME.zip"; $zip = new ZipArchive; $res = $zip->open($extract_file); if ($res === TRUE) { $zip->extractTo($extract_dir); $zip->close(); echo "ok"; } else { echo "failed"; } But when I execute this script, via http://www.mywebsite.com/extract.php All the f...

how to unzip files programmatically in android ?

I need a small code snippet which unzips a few files from a given .zip file and gives the seperate files according to the format they were in the zipped file. Please post your knowledge and help me out. Thank you so much. ...

unzip utf8 to ascii

i took some files from linux hosting to my windows via ftp and when i check file encodings utf8 without bom now i need to convert those files back to ascii and send my other linux server i zipped files can i do something like unzip if its text file and ut8 format than convert it to ascii when i am unzipping files , i want to make con...

Uploading & Unzipping files to S3 through Rails hosted on Heroku?

I'd like to be able to upload a zip file to my Rails application that contains a number of images. Then I'd like Rails to unzip that file and attach the images inside to my Photo's model via Paperclip, so that they are ultimately stored on my Amazon S3 account (configured through Paperclip). I'd like do do this all on my Rails site host...

Unziping files in python

I read through the zipfile modules docs, but couldn't understand how to unzip a file, only zip a file. What is the simplest way to unzip all the contents of a zip file into the same directory? ...

Unarchiving the zip file is not working

Hi all..... i am new to iPhone programming..can anybody help me out from the following problem i am using the fallowing code to unarcive a zip file.. its not working... and printing the NSLog(@"Failure To Unzip Archive"); msg self.fileManager = [NSFileManager defaultManager]; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSD...

How to unzip an AES encrypted zip file on the iPhone ?

In my current iPhone project I need to decrypt zip files which have been encrypted using AES 256 method either on a Mac with StuffIt Engine or on Windows with WinZip. I tried to use ZipArchive (based on MiniZip) but it doesn't work. Anyone knows how to do this ? ...

Check whether a zip file is protected by password in Objective-C/iPhone?

Hello friends, I'm using lib ZipArchive to unzip file on iPhone, it works pretty well, however I met a issue about checking if a zip file is protected by password. I'm wondering if there's a function to check whether a zip file is protected by password before unzipping, but I didn't get lucky to find an api for that. So does anyone wh...

automatically zip/unzip files in vb or vb.net

just as the title says i want to zip/unzip files using vb ocde to make a standalone vb application. I saw a couple out there but didnt really know how to work with them. Does anyone know how to do this? ...

Utility to unzip an entire archive to a directory in java

Hi I'd like to do something like this in my program: File zipFile = .....; File destDir = ....; ImaginaryZipUtility.unzipAllTo(zipFile, destdir); I cannot possibly be the first to do this from a program. Where do I find a utility method like above? I tried to look at apache commons-io, but nothing there. So, where should I look? ...

Using CURL with PclZip Class

I'm using CURL to grab contents of a zip file on a remote server and then save it to a temp_zip_file.zip and then use PclZip class to extract the contents of a file. The problem is that on some servers, the server will not allow my script to create a temporary zip file out of the CURL return so I can use it for pclzip extraction. What...

Programatically unzip an AES encrypted zip file on Windows

I need to be able to unzip some AES (WinZip) encrypted zip files from within some C/C++ code on Windows. Has anybody got a way to do this? I'm hoping for either some appropriate code or a DLL I can use (with an example usage). So far my searches have proved fruitless. The commonly prescribed InfoZip libraries do not support AES encrypt...

Automated unzipping of files

Hello, I have a folder full of zipped files (about 200). I would like to transform this into a folder consisting only of unzipped files. What would be the easiest and quickest way to do this? Please note that I would like to remove the zipped file from the folder once it us unzipped. Also, I'm on a Mac. Thanks! ...

Can I Unzip a file in Azure Blob storage?

My application requires to unzip a zip file located in Azure's blob storage. Is unzipping supported in Azure blob storage? ...

Windows: Execute Batch File for a Custom Context Menu Item

I am looking to add a new item in a right click context menu for a certain file type. I suppose it would be easiest to run a batch file with the full path of the file as an argument. I need to rename the file, unzip it, then rezip it, then rename it. I suppose winzip command line would be appropriate tool to help with that, unless someon...

How to unpack some files from .apk to /data/data/<package> folder while installing the .apk?

My android application needs another NATIVE application executable to run before the android one, so that they can communicate through sockets. Android application has a JNI layer for handling the client-side communication. Now i need to bundle up the native executable along with the apk file, so that when it is installed on a device it...