[SOLVED] Error in extracting a GZIP file using 7zip


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


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.

Answered By – Mark Adler

Answer Checked By – Candace Johnson (BugsFixing Volunteer)

Leave a Reply

Your email address will not be published.