ZipFile.jl icon indicating copy to clipboard operation
ZipFile.jl copied to clipboard

Read/Write ZIP archives in Julia

Results 25 ZipFile.jl issues
Sort by recently updated
recently updated
newest added

Currently if I need to unzip a folder, I'll have to write: ```julia r = ZipFile.Reader("/tmp/example.zip"); for f in r.files println("Filename: \$(f.name)") write(stdout, read(f, String)); end ``` Instead, there can...

This change adds a `deflate_level` parameter when adding a file, with the default value of 6. The hard-coded value of 9 has significant performance penalty and can be several times...

https://github.com/fhs/ZipFile.jl/blob/7dbf67d22a4f52cdc6d8225a6bfa9dbd844ff990/src/ZipFile.jl#L121 I noticed that this creates a hanging file handle, and in some cases the file handle can get closed prior to actually consuming data from the `ZipFile.Reader`.

This commit is an attempt to address github.com/fhs/ZipFile.jl/issues/14. It adds to ReadableFiles references to parent Reader to ensure that a Reader can't get garbage collected for as long as the...

``` julia julia> using ZipFile julia> io = ZipFile.Reader("test/gml/polblogs.zip").files[1] ZipFile.ReadableFile(name=polblogs.gml, method=Deflate, uncompresssedsize=977839, compressedsize=93369, mtime=1.156468828e9) julia> readline(io) "Creator \"Lada Adamic on Tue Aug 15 2006\"\n" julia> readline(io) ERROR: SystemError: seek: Bad...

Work toward fixing #95 Before this PR `Zlib.Writer` and `Zlib.crc32` could not handle more than 4 GB at a time because of a limitation of the zlib C library. This...

Fixes #84 This PR continues on the work of @cerisola in #85 And incorporates requested changes from @fhs I have added `os :: UInt8` and `externalattrs :: UInt32` fields to...

Hey, I'm using ZipFile.jl to unzip some files on a Linux system. Is it possible to preserve the permissions of the original files? I can't find permissions in `ZipFile.ReadableFile` and...

Adds tests that zip files created by `Writer` can be extracted by other programs. Currently, I have tests for p7zip, bsdtar, the python standard library, and Info-ZIP if it is...

When adding many larger files via `addfile`, I run into an exception: ``` ERROR: LoadError: InexactError: trunc(UInt32, 4320522198) Stacktrace: [1] throw_inexacterror(f::Symbol, #unused#::Type{UInt32}, val::Int64) @ Core .\boot.jl:614 [2] checked_trunc_uint @ .\boot.jl:644...