hi, how to extract tar.gz files in c# application?

Recommended Answers

All 2 Replies

Download GZIP and TAR utilities from here . These files require CYGWIN to work under windows. Download it here.

The tar.gz extension means that the file is a TAR archive that has also been gzipped.

So to extract it you first need to unzip it with gzip
gzip -d [filename.tar.gz]
and then untar it with
txr -xf [filename.tar]

Hope this helps

hi, how to extract tar.gz files in c# application?

I don't know if it's still relevant for you. There are plenty opensource libraries to read/write zip / tar archives from C#. You can use something like this one library:

http://code.google.com/p/tar-cs/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.