Home > Mobile >  Error in extracting a GZIP file using 7zip
Error in extracting a GZIP file using 7zip

Time:07-14

I am trying to extract a file named as "note.xml.gz" using 7zip 22.00 but I am getting an error saying

Open ERROR: Cannot open the file as [gzip] archive

I have downloaded the file from my remote git repository

CodePudding user response:

Your file is corrupted, or it is not a gzip file despite the .gz suffix. The latter can occur when you download with some browsers, where note.xml.gz may already have been decompressed in the process of downloading.

Have you looked at note.xml.gz at all? Does it look like XML? If not, are the first few bytes a gzip header? gzip files always start with 1f 8b 08 in hex.

  • Related