Click here to Skip to main content
Sign Up to vote bad
good
See more: C#
Hello,
How to unzip a nested zip file using c# winforms
Posted 10 Jun '12 - 22:35


3 solutions

You can unzip it once, loop through all the files and if any extracted file extension is *.zip then you can unzip it again. Since it sounds like you know how to unzip once, post that it's just logical coding to have nested unzip.
 
Still, in case needed, refer:
How to Zip and Unzip entire folders with nested files/folders.. example C# code[^]
Unzip Nested Zip Files While Streaming[^]
  Permalink  
Comments
rohit24c - 11 Jun '12 - 5:34
yeah u rite its just logical coding i was making mistake in assigning path Thanks buddy :)
Sandeep Mewara - 11 Jun '12 - 9:14
Welcome.
I would really recommend using http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx[^]. Using this zip assembly you can very easily extract your zip file, and then extract the zip file contained within.
  Permalink  
You may apply 7-Zip or use recovery zip in case some problems
 
http://www.zip.recoverytoolbox.com will give all the required information for proper extracting
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 585
1 Maciej Los 395
2 OriginalGriff 345
3 Dave Kreskowiak 325
4 Mohammed Hameed 303
0 Sergey Alexandrovich Kryukov 5,619
1 OriginalGriff 4,532
2 CPallini 2,667
3 Róhãn Lëuvä 2,337
4 Tadit Dash 1,443


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 13 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid