Top "Zip" questions

ZIP is a format for compressed file archives, allowing packaging of multiple files and directories into a single file.

Python zipfile.extract() doesn't extract all files

I'm trying to extract zipped folder using code found here. def unzip(source_filename, dest_dir): with zipfile.ZipFile(source_…

python zip extract
Creating Directories in a ZipArchive C# .Net 4.5

A ZipArchive is a collection of ZipArchiveEntries, and adding/removing "Entries" works nicely. But it appears there is no notion …

c# .net zip .net-4.5
How to unzip a file in Ruby on Rails?

I'm uploading a file to the server in Ruby on Rails Normally, it's a text file and I save it …

ruby-on-rails ruby file zip
zip file and avoid directory structure

I have a Python script that zips a file (new.txt): tofile = "/root/files/result/"+file targetzipfile = new.zip # This …

python zip
How to quickly check if a zip file is corrupted?

Does anyone have any ideas for how to pragmatically quickly check if a zip file is corrupted based on file …

compression zip unzip corruption
Unzip dependency in maven

I have the following dependency in maven <dependency> <groupId>org.hyperic</groupId> <artifactId&…

maven-2 maven zip sigar
Create a Zip File in Memory

I'm trying to zip a file (for example foo.csv) and upload it to a server. I have a working …

java memory zip inputstream
Unpack inner zips in zip with Maven

I can unpack zip file via the maven-dependency plugin, but currently I have the problem that inside that zip file …

maven zip maven-2 archive unzip
Extracting zipped file from ResourceStream throws error "Invalid stored block lengths"

I am trying to extract a ZIP file from my current JAR using: InputStream resource = getClass().getClassLoader().getResourceAsStream(name); This …

java maven zip embedded-resource
Can I zip more than two lists together in Scala?

Given the following Scala List: val l = List(List("a1", "b1", "c1"), List("a2", "b2", "c2"), List("a3", "b3", "c3")) …

scala functional-programming list zip