zip-rs/zip-old

Force zip64 format

skymen opened this issue · 1 comments

skymen commented

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

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