Unzip Error – Zip File Detected as Zip Bomb

dropboxwgetzip

I've been struggling with this for a couple days so I'm hoping someone on SE can help me.

I've downloaded a large file from Dropbox using wget (following command)

wget -O folder.zip https://www.dropbox.com/sh/.../.../dropboxfolder?dl=1

I'm sure it's a zip because 1), file dropboxfolder.zip yields
dropboxfolder.zip: Zip archive data, at least v2.0 to extract, and 2) the download and extraction works find on my Windows machine.

When I try to unzip to the current directory using unzip dropboxfolder.zip, on Linux, I get the following output:

warning:  stripped absolute path spec from /  
mapname:  conversion of  failed     
creating: subdir1/
creatingL subdir2/
extracting: subdir1/file1.tif 
error: invalid zip file with overlapped components (possible zip bomb)

I'm unsure what the issue is, since as I said it works fine on Windows. Since the zip is rather large (~19GB) I would like to avoid transferring it bit by bit, so I would be very thankful for any help. I've run unzip -t but it gives the same error. When listing all the elements in the archive it shows everything as it should be. Could it be an issue with the file being a tif file?

Best Answer

I had the same issue for unzipping a large file (~6 GB). Solved it with this:

jar xf your_file.zip

I hope it helps!

Cheers,

Related Question