zip

On the fly zip or tar creation?

I may NOT bother with this but if its very simple i may consider it. The site i am working on by design is to hold hundreds of thousands of files. I dont know if we'll have only one download or multiple. Right now the choices are A) Just the file B) An archive that has the file + license and conditions. I am trying to figure out it can ...

Read binary data (from file) into a struct

I'm reading binary data from a file, specifically from a zip file. (To know more about the zip format structure see http://en.wikipedia.org/wiki/ZIP_%28file_format%29) I've created a struct that stores the data: typedef struct { /*Start Size Description ...

php creating zips without path to files inside the zip

hi all, I'm trying to use php to create a zip file (which it does - taken from this page - http://davidwalsh.name/create-zip-php), however inside the zip file are all of the folder names to the file itself. Is it possible to just have the file inside the zip minus all the folders? Here's my code: function create_zip($files = array(),...

iphone - Extracting ZIP files in iPhone App

I am aware of some third party libraries and open source libraries to extract ZIP files within iPhone application. But I would like to know whether there are any default iPhone frameworks provided in SDK itself? ...

Monitor ZIP File Extraction Python

I need to unzip a .ZIP archive. I already know how to unzip it, but it is a huge file and takes some time to extract. How would I print the percentage complete for the extraction? I would like something like this: Extracting File 1% Complete 2% Complete etc, etc ...

downloading large amount of files

I'm researching solutions for a potential client. They're requesting the ability to download a large amount of MP3's (1000+) from their online catalog. I've researched/tested building a zip containing all MP3s using ZipArchive but ran into obvious memory leak issues that have ruled that solution out. I'm now trying to think out of the...

Is it possible to use System.IO.Packaging.Package to zip a folder and add files/folders later to it?

I wonder if we can use the .net class ZipPackage to zip a folder to a file.zip file. And then, I want open file.zip and add more files/folders into it. Is it possible? [Edit] I'm trying to use native .net library if possible ...

Sending Zip file to Client via Response - incorrect type being sent...

Hi Guys, OK, I've been pulling my hair out about this for ages. I have a WebService which sends a zip file to the browser. This works; when I test the WebService and 'invoke' the method through it directly, the zip file is downloaded to the browser correctly. The problem arises when I use jQuery to send an AJAX request to the WebServi...

rails: how to send the xml page result in a zip file?

Hello everybody, I have a problem with my webservice! As I render xml files just like a web page, the content gets loaded very slowly... Is it possible to render the xml in a zip format? Thanks for any hints concerning this topic! Markus ...

gzip equivalent in dos

Hi, I need to use DOS to zip files. I have file with similar but not exactly same filenames. for example one file is call temp.txt and the other is called temp123.txt I need to create a separate zip version for each of the files i.e. I need a temp.zip and temp123.zip. using the zip command with temp.txt creates only 1 zipped folder whi...

How can my Perl script determine whether an Excel file is in XLS or XLSX format?

I have a Perl script that reads data from an Excel (xls) binary file. But the client that sends us these files has started sending us XLSX format files at times. I've updated the script to be able to read those as well. However, the client sometimes likes to name the XLSX files with an .xls extension, which currently confuses the heck...

Getting the timezone from a Yahoo WOEID

I am using this question (yahoo-weather-api-woeid-retrieval) to convert a US ZIP to a Yahoo WOEID value. However while the Yahoo reply returns all sorts of interesting stuff, what I am interested in getting is the correct timezone of the location. Is there any easy way to return the timezone from Yahoo, or map a WOEID (or ZIP in that m...

check if a zip file has password-protection, in objective-c

I have used ZipArchive library to zip and unzip files, but it doesn't give a clue about how to check if the zip file is password-protected. I need to be able to check whether a .zip file is password-protected. If it is, I will prompt the user for a password; otherwise just unzip it. Anyone have an idea of how to check this? Is there an...

zip file download not working in IE6

I have given the javascript code like this self.location = OmanPath() + "Customer/Registration/UploadedPhoto/SampleImages.zip"; But this is not working in IE6. What may be the reason This code not working for zip file download. It is working in IE7 and IE8 ...

what Compression Library to use for iPhone Application?

Hello people i am looking for a compression library to use in iphone application, please any guide will be so great. Edit hopefully with AES 256 Encryption And Decryption Methods ...

Reading Zip file in Google App Engine using java (Struts)

Hi, I am having problems reading a zip file that I have uploaded to the server (GAE). I am uploading a zip file with a csv file that I need to read in order to write to the database. However, GAE does not allow direct writing of the file on server. How do I open an inputstream to read the file? I am using struts framework. Part of my up...