adamhathcock / sharpcompress

SharpCompress is a fully managed C# library to deal with many compression types and formats.
MIT License
2.26k stars 480 forks source link

Encrypt file streams and split by multi-volume #587

Open Pompeoar opened 3 years ago

Pompeoar commented 3 years ago

I'm trying to find examples from your tests or others where you split files into multi-volume. I see you support it for some formats, but I can't find a way to do it. Any documentation you can point me towards?

Also, the end goal is to do this for large files, and to encrypt them, so I need to encrypt file streams and split by multi-volume. Is that something this library can do?

adamhathcock commented 3 years ago

It hasn't been implemented. Sorry.

Rar is the only format I support multi-file reading for though the 7zip implementation may as well (can't remember)

I haven't implemented reading or writing multi-volume for Zip at all.

Pompeoar commented 3 years ago

Excuse my ignorance of compression if I'm misunderstanding you.

It doesn't have to be zip - as long as it can encrypt in-stream and span/multi-volume, I'll use any format.

adamhathcock commented 3 years ago

RAR can't be compressed by anything other than WinRAR. I don't intend to work further on the 7Zip format as it's awful to deal with. Zip is the only thing that I would implement volume splitting but it's just not implemented.