zip-rs / zip-old

Zip implementation in Rust
MIT License
731 stars 204 forks source link

Force zip64 format #385

Closed skymen closed 1 year ago

skymen commented 1 year ago

Hello, I'm using this to read ad write zip files and I need to force the Writer to write in the Zip64 format.

I am using these options

zip::write::FileOptions::default() .compression_method(zip::CompressionMethod::Deflated) .unix_permissions(0o755) .large_file(true);

but for some reason, the exported file is still in the regular zip format.

How can I force it to use the zip64 format?

skymen commented 1 year ago

Nevermind, read through the source code and it works appropriately and I don't need to do this actually.