Closed tp971 closed 8 months ago
I don't know the exact details on how the zip format works, but I have an application that uses the fact that files can be streamed into a zip archive without knowing the file size in advance. This can be simulated with the following command:
$ echo test | zip test.zip -
This creates a file test.zip containing a file -:
test.zip
-
$ unzip -lv test.zip - Archive: test.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 5 Stored 5 0% 2024-03-05 01:01 3bb935c6 - -------- ------- --- ------- 5 5 0% 1 file
The archive can be extracted using unzip but not with xarchiver, i.e. it is stuck in "Opening archive, please wait..."
unzip
Fixed.
I don't know the exact details on how the zip format works, but I have an application that uses the fact that files can be streamed into a zip archive without knowing the file size in advance. This can be simulated with the following command:
This creates a file
test.zip
containing a file-
:The archive can be extracted using
unzip
but not with xarchiver, i.e. it is stuck in "Opening archive, please wait..."