# \#zip

**URL:** https://discourse.julialang.org/tag/zip/962.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [File zipping taking longer for large files](https://discourse.julialang.org/t/file-zipping-taking-longer-for-large-files/115963)

<div class="topic-metadata">

**Author:** [@Sandy45](https://discourse.julialang.org/u/Sandy45)\
**Replies:** 16\
**Last updated:** [June 28, 2024, 2:34am UTC](https://discourse.julialang.org/t/file-zipping-taking-longer-for-large-files/115963 "2024-06-28T02:34:15Z")

</div>

I am trying to zip files in the directory which is around 300 - 400 MB and it’s taking more than 15 mins to finish. Initially I was using custom function written using ZipFile package. I have tried using Base.zip which i…

---

## [InexactError when saving compressed CSV file (but not if I save it uncompressed)](https://discourse.julialang.org/t/inexacterror-when-saving-compressed-csv-file-but-not-if-i-save-it-uncompressed/129784)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [June 10, 2025, 3:08pm UTC](https://discourse.julialang.org/t/inexacterror-when-saving-compressed-csv-file-but-not-if-i-save-it-uncompressed/129784 "2025-06-10T15:08:58Z")

</div>

x is a 15M x 243 DataFrame: julia\> x 14259735×243 DataFrame Row │ C R Y pr\_m1\_yl4 pr\_m2\_yl4 pr\_m3\_yl4 pr\_m4\_yl4 p ⋯ │ Int64 Int64 Int64 Float64 Float64 Float64 Float64 F…

---

## [Reading files embedded in a Zip-file](https://discourse.julialang.org/t/reading-files-embedded-in-a-zip-file/10675)

<div class="topic-metadata">

**Author:** [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Replies:** 10\
**Last updated:** [September 2, 2024, 3:46pm UTC](https://discourse.julialang.org/t/reading-files-embedded-in-a-zip-file/10675 "2024-09-02T15:46:47Z")

</div>

I am exploring InfoZIP. Variable “fn” contains the filename. julia\> d = open\_zip(fn) julia\> d.keys 6-element Array{AbstractString,1}: "WR\_2004\_20180215203106\_CORE\_0001.xml.gz" "WR\_2004\_20180215203106\_CORE\_0002.xml.g…

---

## [\[ANN\] CodecInflate64.jl - Testing help needed from Windows ZIP file users](https://discourse.julialang.org/t/ann-codecinflate64-jl-testing-help-needed-from-windows-zip-file-users/117680)

<div class="topic-metadata">

**Author:** [@nhz2](https://discourse.julialang.org/u/nhz2)\
**Replies:** 4\
**Last updated:** [August 1, 2024, 11:46am UTC](https://discourse.julialang.org/t/ann-codecinflate64-jl-testing-help-needed-from-windows-zip-file-users/117680 "2024-08-01T11:46:15Z")

</div>

CodecInflate64.jl is a work in progress Julia implementation of deflate64 decompression. Deflate64 is an incompatible variant of deflate that Windows File Explorer sometimes uses when making large ZIP files. If you hav…

---

## [Download decompressed .zip-archive from url](https://discourse.julialang.org/t/download-decompressed-zip-archive-from-url/107452)

<div class="topic-metadata">

**Author:** [@maximikos](https://discourse.julialang.org/u/maximikos)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 6:11pm UTC](https://discourse.julialang.org/t/download-decompressed-zip-archive-from-url/107452 "2023-12-11T18:11:28Z")

</div>

Hi, I would like to extract and download files from a .zip-archive stored online (here) without having to download intermediate files. The .zip-archive consists of .txt and .json files and is nested. I have found two r…

---

## [Zip folder using Julia](https://discourse.julialang.org/t/zip-folder-using-julia/69565)

<div class="topic-metadata">

**Author:** [@RaulDurand](https://discourse.julialang.org/u/RaulDurand)\
**Replies:** 8\
**Last updated:** [January 13, 2023, 7:41am UTC](https://discourse.julialang.org/t/zip-folder-using-julia/69565 "2023-01-13T07:41:47Z")

</div>

Hi! How to zip an entire folder using Julia? I tried using ZipFile with no success. Thanks.

---

## [Open zip file with non UTF-8 encoding](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 9:14am UTC](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241 "2022-08-05T09:14:44Z")

</div>

Hi all, I want to download a file and unzip the only file in the archive to feed a CSV.File (Energy data for a France region from https://eco2mix.rte-france.com/download/eco2mix/eCO2mix\_RTE\_Auvergne-Rhône-Alpes\_En-cours…

---

## [Processing multiple large zipped csv files](https://discourse.julialang.org/t/processing-multiple-large-zipped-csv-files/78957)

<div class="topic-metadata">

**Author:** [@thedacheng](https://discourse.julialang.org/u/thedacheng)\
**Replies:** 2\
**Last updated:** [April 4, 2022, 3:38am UTC](https://discourse.julialang.org/t/processing-multiple-large-zipped-csv-files/78957 "2022-04-04T03:38:40Z")

</div>

I am trying to process multiple large zipped csv files. Memory consumption is my main concern at the moment. It seems CSV.File always load everything in memory, so I am using CSV.Rows to iterate through processing. I enc…

---

## [How to download, extract and import a zipped or tgz csv file from internet?](https://discourse.julialang.org/t/how-to-download-extract-and-import-a-zipped-or-tgz-csv-file-from-internet/77025)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 4:10pm UTC](https://discourse.julialang.org/t/how-to-download-extract-and-import-a-zipped-or-tgz-csv-file-from-internet/77025 "2022-02-24T16:10:57Z")

</div>

For a CSV file, I am using a combination of Pipe, HTTP and CSV to download, (eventually) modify the file and import it as a DataFrame without any temporary writing on disk: urlData = "https://github.com/sylvaticus/Intro…

---

## [Feature request: Can moderators allow us to attach zip files?](https://discourse.julialang.org/t/feature-request-can-moderators-allow-us-to-attach-zip-files/70631)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 15\
**Last updated:** [October 30, 2021, 4:45pm UTC](https://discourse.julialang.org/t/feature-request-can-moderators-allow-us-to-attach-zip-files/70631 "2021-10-30T16:45:18Z")

</div>

We can attach image files but not .zip (or other compressed formats). This would be very handy for some usage examples.

---

## [Download/unzip a .zip file](https://discourse.julialang.org/t/download-unzip-a-zip-file/21271)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 3\
**Last updated:** [August 11, 2021, 7:51pm UTC](https://discourse.julialang.org/t/download-unzip-a-zip-file/21271 "2021-08-11T19:51:08Z")

</div>

I set out to download/unzip a .zip file from a URL today and never thought it would be such a problem. I get an error when installing ZipFile.jl and there seems to be a lot of complaints about that package anyways. Can s…

---

## [Importing ZipFile.ReadableFile into DataFrame](https://discourse.julialang.org/t/importing-zipfile-readablefile-into-dataframe/65587)

<div class="topic-metadata">

**Author:** [@banksiaboy](https://discourse.julialang.org/u/banksiaboy)\
**Replies:** 3\
**Last updated:** [July 31, 2021, 10:55pm UTC](https://discourse.julialang.org/t/importing-zipfile-readablefile-into-dataframe/65587 "2021-07-31T22:55:06Z")

</div>

I have used ZipFile to open a downloaded compound zipfile. I want to import several of the contained files into DataFrames. ZipFile.Reader for IOStream(\<file ./GBIF-Datasets/0333654-200613084148143.zip\>) containing 16 f…

---

## [World age error using urldownload to read a zip file](https://discourse.julialang.org/t/world-age-error-using-urldownload-to-read-a-zip-file/56111)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 4\
**Last updated:** [February 26, 2021, 11:12pm UTC](https://discourse.julialang.org/t/world-age-error-using-urldownload-to-read-a-zip-file/56111 "2021-02-26T23:12:23Z")

</div>

I am getting a world age error when using urldownload (from package UrlDownload). Does anybody know why this might happen? Here’s the error message: ‘’’ Info: tmp ERROR: LoadError: MethodError: no method matching eof…

---

## [How to read files from a compressed file (zip/gz) lazily?](https://discourse.julialang.org/t/how-to-read-files-from-a-compressed-file-zip-gz-lazily/53314)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 3\
**Last updated:** [January 14, 2021, 6:09pm UTC](https://discourse.julialang.org/t/how-to-read-files-from-a-compressed-file-zip-gz-lazily/53314 "2021-01-14T18:09:53Z")

</div>

I know how to use TranscodingStreams to read one file without fully decompress it first, what if the target.tar.gz contains multiple directories/files?

---

## [How to extract a file in a zip archive (without using OS specific tools)?](https://discourse.julialang.org/t/how-to-extract-a-file-in-a-zip-archive-without-using-os-specific-tools/34585)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [February 14, 2020, 11:16am UTC](https://discourse.julialang.org/t/how-to-extract-a-file-in-a-zip-archive-without-using-os-specific-tools/34585 "2020-02-14T11:16:26Z")

</div>

I am trying to extract a file from a zip archive using ZipFile.jl, but I don’t know how to write it back to disk: using ZipFile zarchive = ZipFile.Reader("myarchive.zip") myf = zarchive.files\[1\] out = open(myf.name,"w"…

---

## [ZipFile.jl](https://discourse.julialang.org/t/zipfile-jl/6619)

<div class="topic-metadata">

**Author:** [@rcnlee](https://discourse.julialang.org/u/rcnlee)\
**Replies:** 3\
**Last updated:** [October 24, 2017, 6:47am UTC](https://discourse.julialang.org/t/zipfile-jl/6619 "2017-10-24T06:47:54Z")

</div>

Hello, The README for ZipFile.jl talks about writing to a new zip file and reading from it. Is there a way to add a file to an existing zip file? i.e., append a file? Thanks, Ritchie
