zip

How to create a zip file in Java

I have a dynamic text file that picks content from a database according to the user's query. I have to write this content into a text file and zip it in a folder in a servlet. How should I do this? ...

Create password protected zip in Java

My question is similar to this one: Write a password protected Zip file in Java, but what I need is to create password protected zip file using mechanism simpler than AES beause not every archive manager can unpack AES-protected zip files (for example WinRar is not able to do that). Do you know some free library that can password protect...

how do I zip a whole folder tree in unix, but only certain files?

Hi everyone, I've been stuck on a little unix command line problem. I have a website folder (4gb) I need to grab a copy of, but just the .php, .html, .js and .css files (which is only a couple hundred kb). I'm thinking ideally, there is a way to zip or tar a whole folder but only grabbing certain file extensions, while retaining subf...

What is zip (functional programming?)

I recently saw some Clojure or Scala (sorry I'm not familiar with them) and they did zip on a list or something like that. What is zip and where did it come from ? ...

Flex 3 Hiding "764 bytes after decompression" trace statements

Hey, i'm working on a flex project where we load in a bunch of swf files from a zip archive using fzip. And whenever i'm running in debug mode, I get a whole bunch of trace statements saying like, [SWF] filepath - 251 bytes after decompression I'm just wondering if anyone knows how to hide these statements in the output window as there...

java servlet: generate zip file from BLOBs

I'm trying to zip a large number of pdf files (stored as BLOBs in the DB) and then return the zip as an attachment to the user. What's the best way to do this without running into memory issues? Another note: I actually need to merge some PDFs prior to adding them to the ZipOutputStream. Therefore, a couple PDFs will need to be store...

Is it possible to use the PhysFS library with encrypted zip files?

Is it possible to use the PhysFS library to read and write encrypted zip files? ...

Sending Zip file to Client via Response with DotNetZip

this is my code private void sendToClient(Dictionary<string, string> reportDic) { Response.Clear(); Response.BufferOutput = false; String ReadmeText = "some text"; Response.ContentType = "application/zip"; Response.AddHeader("content-disposition", "filename=" + "filename.zip"); usi...

How to create a zip archive with PowerShell?

Is it possible to create a zip archive using PowerShell? Thank you. ...

Scrape current request and zip it up.

I have an asp.net website which contains a few pages that I'd like to export their generated content and send to another service for archiving. The best way that I can fathom doing this is to grab the stream and dump it to a file which is easy enough to do. My main challenge would be follow the external resources and include them in th...

Create ZIP with AES encryption on Solaris

Hi, Is there a way to archive & encrypt a file using AES on Solaris and be able to unencrypt & unarchive it with winzip? Thnaks! Mark ...

Streaming a dynamic zip from Amazon S3

I am looking for a way to dynamically stream download a zip of files from Amazon S3. The application is hosted on EC2 and the files are stored on S3. Need to give users the ability to select from a group of files which will then get bundled up and downloaded to them. Have heard about a few Actionscript libraries (aszip and fzip) tha...

groovy zipping a directory with files in use

I am trying to zip an entire directory in a groovy program. I have used the built in ant target to zip the directory and normally this works, except that sometimes 2-3 files are in use which I don't care about but the zip code actually aborts because of that - any ideas on how to fix this? Thanks! Code: def ant = new AntBuilder() an...

Is there a way to create an uncompressed zip from PHP?

Is there a way to create an uncompressed ZIP (level 0) from PHP? I can't find any info in the php documentation. ...

creating zip file from a folder - in c++

I want to create a program that , when executed, will compress a selected folder. Can it be done? Thanks, Oded ...

I need a C# library for zipx

Hello, I need to extend my application to unzip .zipx files. This appears to be the latest and greatest zip compression from WinZip. Does anyone know of a library that will do this? Thanks ...

PHP GD: How to get imagedata as binary string?

I'm using a solution for assembling image files to a zip and streaming it to browser/Flex application. (ZipStream by Paul Duncan, http://pablotron.org/software/zipstream-php/). Just loading the image files and compressing them works fine. Here's the core for compressing a file: // Reading the file and converting to string data $stringd...

Creating zip using Zip Utility

Hi, I am using the Zip utility package of Java and wanted to know how to create a zip file with no compression at all. Setting the level to 0 doesn't help. Is this right? Also, when I used the 'STORED' method, it throws following exception: java.util.zip.ZipException: STORED entry missing size, compressed size, or crc-32 I can set ...

Unzipping a directory in C++

I am creating a C++ program that will read a .docx's plain text. My plan of attack is to rename the .docx as a .zip and then unzip. I then will rename the .xml file containing the text of the document as a .txt and parse it out. Right now I have figured out the renaming which was easy enough. I am now struggling with unzipping. I am...

Are there any known standards or security flaws in password-protected ZIP files?

Just like the title says. I was hoping someone could direct me to documents/resources that show how to encrypt a zip file such that most (if not all) 3rd-party apps can open it. I'm more interested in the security aspect rather than how to do it - any knowledge is welcome. This is to casually protect files on my work computer (and net...