View Issue Details

IDProjectCategoryView StatusLast Update
0000505fileGeneralpublic2024-04-08 16:06
Reportermonperrus Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionopen 
Summary0000505: support of multi-part zip archives
Descriptionzipsplit creates multi-part zip archives, file can only recognize some files from it.
Steps To Reproduceto create the split file: zip -s 3 foo.zip bigfile.dat

Then:

file foo.z*

Actual behavior:

foo.z01: Zip multi-volume archive data, at least PKZIP v2.50 to extract
foo.z02: data
foo.z03: data
foo.zip: data

Expected behavior:

foo.z01: Zip multi-volume archive data, at least PKZIP v2.50 to extract
foo.z02: Zip multi-volume archive data, at least PKZIP v2.50 to extract
foo.z03: Zip multi-volume archive data, at least PKZIP v2.50 to extract
foo.zip: Zip multi-volume archive data, at least PKZIP v2.50 to extract

TagsNo tags attached.

Activities

jsummers

2024-03-01 13:54

reporter   ~0004017

As far as I know, it's essentially impossible to identify ZIP fragments that are neither first nor last.

I couldn't reproduce your results for the last fragment. (And it might be possible to identify it as the last fragment, instead of just as generic Zip data.)

$ zip -s 3 foo.zip bigfile.dat

$ file foo.z*

foo.z01: Zip multi-volume archive data, at least PKZIP v2.50 to extract
foo.z02: data
foo.z03: data
foo.zip: Zip archive data, made by v3.0 UNIX, extract using at least v2.0, last modified, last modified Sun, Mar 01 2024 08:43:12, uncompressed size 10518450, method=deflate

$ file --version
file-5.45

monperrus

2024-03-04 18:39

reporter   ~0004022

I confirm I can also identify the last fragment.

> As far as I know, it's essentially impossible to identify ZIP fragments that are neither first nor last.

argh, too bad.

thanks a lot, we can close then.

christos

2024-04-08 16:06

manager   ~0004032

I am not sure if it is possible, since the file parts have no identifying magic...

Issue History

Date Modified Username Field Change
2024-02-23 10:40 monperrus New Issue
2024-03-01 13:54 jsummers Note Added: 0004017
2024-03-04 18:39 monperrus Note Added: 0004022
2024-04-08 16:06 christos Assigned To => christos
2024-04-08 16:06 christos Status new => assigned
2024-04-08 16:06 christos Status assigned => feedback
2024-04-08 16:06 christos Note Added: 0004032