unzip

Unpack/extract zip file with PHP without relying on any extension

Is there any way to unpack or extract a zip file with PHP that does not rely on any installed extension? Has anyone written a class or something that can handle it? Alternatively, is there a solution that uses an extension that is relatively commonly installed on most servers? I need this to work on as many different servers that I hav...

unzip a file in flex?

help me some one can we unzip a file flex and we can maintain same directory structure. ...

Reading the same file multiple times in Python

Hello, I need to download a zip archive of text files, dispatch each text file in the archive to other handlers for processing, and finally write the unzipped text file to disk. I have the following code. It uses multiple open/close on the same file, which does not seem elegant. How do I make it more elegant and efficient? zipped = ur...

Can I use VBA to unzip a file using the native windows unzip feature?

I'm using Outlook 2003 & I want to use a macro to unzip a file attachment on a message. Can I use the built-in zip file handling of windows in VBA to do this and if so, how? I'm running on Windows7 64 bit. ...

How to unzip a column in the database using PHP

I have a KMZ file stored in MySQL as a blob. KMZ file uses PKZIP compression. How can I unzip the file using PHP? ...

Control sort order of files in zip archive

Description I'm interested in learning if there is any way to control sort order of files inside zip files using standard routines in PHP and/or Java. I'm not primarily interested in using zip/unzip using shell_exec() or similar, but it can be of interest if it provides with an easy to read solution. With sort order it's safe to assum...

Unzip files using JavaScript

I want to display OpenOffice files, .odt and .odp at client side using a web browser. These files are zipped files. Using Ajax, I can get these files from server but these are zipped files. I have to unzip them using JavaScript, I have tried using inflate.js, http://www.onicos.com/staff/iz/amuse/javascript/expert/inflate.txt, but witho...

How to Zip/Unzip Files in SSIS - Need Compression Task

Hi anyone can suggest best Zip/Unzip Task for SSIS. We want to zip several GB files. I just found a product called TaskFactory looks very promising but wondering if anyone used it http://www.pragmaticworks.com/Products/Business-Intelligence/Taskfactory Thanks ...

not able to find nunit.framework while using icsharplibrary

Hi, I am trying to code for unzipping a file after uploading it on the sever and using following library to achieve this: http://downloads.sourceforge.net/sharpdevelop/SharpZipLib_0855_SourceSamples.zip But i am not able to add reference nunit.framework in my application. Where can i find this framework? I am not able to find it...

Zip and Unzip the Folders and Files Using Java

If My Application wants to zip the Resultant files(group of Files) using java in a dynamic way, what are the available options in Java? When i Browsed I have got java.util.zip package to use, but is there any other way where I can use it to implement? ...

What is the fastest way to unzip textfiles in Matlab during a function?

Hello all, I would like to scan text of textfiles in Matlab with the textscan function. Before I can open the textfile with fid = fopen('C:\path'), I need to unzip the files first. The files have the extension: *.gz There are thousands of files which I need to analyze and high performance is important. I have two ideas: (1) Use an ex...

Remote Zip Extraction > Can't seem to get this to the finish line...

The purpose of this code is to grab an update.zip file from a remote server, unzip it and save it to a local directory, updating, overwriting or creating the updated files. I've almost got a non cURL version of this working, but I'd rather use this version. The first problem I have is that the path to the tmp folder is incorrect. I need...

Unix system programming - unzipping a file programmatically

What I need to do is unzip a file, (.gz or .z), read the first line and do some stuff according to the first line read. But the C standard library doesn't seem to offer a way to do this. Is the a platform-independent way to do it? ...

Preserve file permissions when unzipping and the zipping files using ant

I'm writing an ant build.xml file which does the following: Takes a zipped folder (.zip) Unzips it Adds a number of files Zips up the resulting files An extract of the code from build.xml: <!-- Unzip SDK to a temporary directory --> <unzip src="${zipFile}" dest="tmp"/> <!-- pull in the files from another directory --> <copy todir="...

Change present working directory of a calling shell from a ruby script

I'm writing a simple ruby sandbox command-line utility to copy and unzip directories from a remote filesystem to a local scratch directory in order to unzip them and let users edit the files. I'm using Dir.mktmpdir as the default scratch directory, which gives a really ugly path (for example: /var/folders/zz/zzzivhrRnAmviuee+++1vE+++yo...

Unzip a bunch of zips into their own directories

I have a bunch of zip files I want to unzip in Linux into their own directory. For example: a1.zip a2.zip b1.zip b2.zip would be unzipped into: a1 a2 b1 b2 respectively. Is there any easy way to do this? ...

Need PHP script to decompress and loop through zipped file.

I am using a fairly straight-forward script to open and parse several xml files that are gzipped. I also need to do the same basic operation with a ZIP file. It seems like it should be simple, but I haven't been able to find what looked like equivalent code anywhere. Here is the simple version of what I am already doing: $import_file...

How can I unzip a file in MacOS X Obj-C?

How can I unzip a file in MacOS X Obj-C? What frameworks do I need and what is the call? ...

Determining when database zip is unpacked

I am fetching a db zip on initial startup of an AIR app (after 1st install), which I then unpack via FZip. After this operation I immediately need to load data from the generated sqlite db, which fails since I seem not able to determine when the zip is completely unpacked and/or the sqlite has been created. Any suggestions? Thx! For c...

is unarchiving via ZipArchive faster than using exec() in php?

I am writing an app that will need to unzip user uploaded archives. PHP provides the ZipArchive class, but it should also be possible to unzip using unzip via exec(), my question is which is preferrable in terms of performance & scaling? ...