• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 734
  • Last Modified:

how can I open .xml.gz file

how can I open .xml.gz file

I went on a website robots.txt file

there was a reference to sitemap.xml.gz link

which downloaded on my browser
0
rgb192
Asked:
rgb192
2 Solutions
 
Yuval_ShohatCommented:
If all you wish to do is to have a look at the xml.gz file, usually any compression \ decompression software will be able to decompress the file. winzip, 7-zip and so on.
Assuming you wish to do it programatically, according to the computer language you are using:
in C# there is a class to handle compression and decompression of gz files:
GZipStream Class
in php usually gzopen will do the trick.
php gzfile

I believe most of scripting and computer languages has a way to handle compressions.
Hope my  2 cents were helpful.
-=Yuval=-
0
 
Joy DingenenICT system consultantCommented:
Indeed like the poster before said most zip capable programs will be able to extract the xml file that is in there. the xml itself you can open with any modern browser.
To make it easier to read you can use programs like xml copy editor. But it shouldn't be rocket science.
0
 
rgb192Author Commented:
This may work if file was still on internet and I have ownership of file.

I have a related question where file is on my windows desktop and I am trying to open file.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now