Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I want to compress folder to .tar.gz using c#.

can you know me how to compress it.


Thanks.
Posted
Comments
Sergey Alexandrovich Kryukov 17-Sep-12 2:00am    
You need to make tar archive first, than gz-compress it. A library for tar for .net is available, you can find it if you Google...
--SA
Rockstar_ 17-Sep-12 3:51am    
use second link from my post

you can use the following. It works perfectly
http://www.csharpest.net/?p=110
 
Share this answer
 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900