.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to unzip a zip file inside a zip

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :.NET Framework


I have a zip file which contains another zip file. I am using third party dll called ICSharpCode for unzipping. I am able to extract the contents of main zip file but not able to extract the zip file inside main zip file.

Could anyone you help me in this.


thanks in advance.

View Complete Post

More Related Resource Links

Toolbox: Easy File Backup, Exploring Files And Folders Inside Visual Studio, Multiple Monitor Softwa


If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.

Scott Mitchell

MSDN Magazine May 2009

Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format, Part 2


The Win32 Portable Executable File Format (PE) was designed to be a standard executable format for use on all versions of the operating systems on all supported processors. Since its introduction, the PE format has undergone incremental changes, and the introduction of 64-bit Windows has required a few more. Part 1 of this series presented an overview and covered RVAs, the data directory, and the headers. This month in Part 2 the various sections of the executable are explored. The discussion includes the exports section, export forwarding, binding, and delayloading. The debug directory, thread local storage, and the resources sections are also covered.

Matt Pietrek

MSDN Magazine March 2002

Inside Windows: An In-Depth Look into the Win32 Portable Executable File Format


A good understanding of the Portable Executable (PE) file format leads to a good understanding of the operating system. If you know what's in your DLLs and EXEs, you'll be a more knowledgeable programmer. This article, the first of a two-part series, looks at the changes to the PE format that have occurred over the last few years, along with an overview of the format itself. After this update, the author discusses how the PE format fits into applications written for .NET, PE file sections, RVAs, the DataDirectory, and the importing of functions. An appendix includes lists of the relevant image header structures and their descriptions.

Matt Pietrek

MSDN Magazine February 2002

Read Binary Data which is nothing but a Zip file and unzip through SSIS 2005 SP2

Hi ALL, I need some help in developing a task. I have a source database which is Oracle and it has a ZIP file stored inside the database in Binary format. When I move this data into the sql server 2005 database I get the data as binary data. Now the task begins with SSIS, I need to read the binary data which gives us a zip file and then unzip this zip file and read the XML data which is present inside the Zip file. I beleive some one might have already developed this task can you share the solution with us. Note: As this has to be moved into production I dont have permission to use third party tools like Cozy roc or install winrar.exe and simpy calling this exe from the execute process task in SSIS.  Raju

How can I Unzip a file?

Hello,I wondering how it's possible to unzip a file using C#. Simple unzip. Is it possible without third party components?

unable to unzip XML file with unicode characters in it's name.


Finally I did manage to build an application that supports unicode characters..

Now my application generates a zip file which contains an XML file. I want to unzip the zip file to view the contents of an XML file.

i am unable to unzip because the name of the zip file/as well as XMl file has Unicode characters(i.e. japanese Name) and it gives some error.


If i generate the XML file  with same contents but name of the files in English then i can view the contents of the XML file.


My query is i want to be able to unzip the XML file when the name of the file contains unicode characters in it.

as per my research up till now,  we either require a compatible winzip software or we have to create an utility for the same.

I need to know how to go about it. It's a little urgent as well.

Thnx in advance.


 I can unzip file with the name: PMTI_MSPS_US_GAB_JAPANESE_PWA_Project Plan1_PPM_2010100105260495.zip


I am unable to unzip the file with the name: PMTI_MSPS_US_GAB_JAPANESE_PWA_????????1_PPM_2010093006260431.zip

I wanto unzip this file.

Unzip Single File from a Zip file using Native .NET Code


Using SSIS 2005 can I unzip a "Single File" from a .ZIP file? Please advise.

I know there are many 3rd party tools we can install and use process task to do this or I think VJ# has this inbuilt. But I was looking for some solution using .NET's own "System.IO.Packaging.Package ".


check if file exists inside foreach container?


Hi All,

I have a foreach container that checks a folder C:\FTP for an Excel file named Fast_<date>.xls, imports the data, and copies the file to C:\Archive.

I need to add a step that checks C:\Archive for a file with the same name as the file in C:\FTP before the import step.  If the file is already present in C:\Archive, the package should fail.  If it isn't, then it should continue normally.

I found a promising-looking link in a previous post, but the referenced page no longer exists (below).   I have never used a script task, and I will have a different file name each time, so I am a little confused. 

If someone's feeling benevolent, suggestions would be very much appreciated!!

Thanks in advance!

broken link: http://agilebi.com/cs/blogs/jwelch/archive/2007/10/31/checking-for-the-existence-of-a-file.aspx


Download FTP Zip file and unzip to local PC



HI All, I am looking for some help in downloading latest Zip file from a FTP location and UnZIP it by saving to a particular location using VB.NET GipStream or some other method. I prefer not to use any 3rd party controls. All ideas would be appreciated. Thanks.

Multiple file upload to the sharepoint document library using file upload control inside the gridvie


how to upload multiple files to the sharepoint document library using fileupload control inside the gridview.

form design is

<asp:GridView id="gridview1" runat="server"  autogenteratecolumn="false">

<asp:TemplateField HeaderText="3DFinal">


<asp:FileUpload id ="Fileupload" runat="Server"/>



<asp:TemplateField HeaderText="2DFinal">


<asp:FileUpload id ="Fileupload2" runat="Server"/>



<asp:TemplateField HeaderText="Final">


<asp:FileUpload id ="Fileupload3" runat="Server"/>





<asp:Button Id="Buuton1" runat="server" text="Save"/>

if i click save button files should go to my sharepoint document library.

if any one know pls help me...




How to show icons for different file types inside Document Libraries

I would like to know how i can tell sharepoint to show a special icon for a defined file type?
Best regards,
Yavuz B.

My Sharepoint and Enterprise 2.0 Blog http://www.starcoder.net | Microsoft Sharepoint Resources & Blogs List

File Splitter in .Net

I love to do utility programs in .Net. And this is one of them. As I was playing with JSplit (a free file splitter program), I wondered if I could do it in .Net. The framework supports file operations like reading files in bytes and creating them. It is indeed easy to do file operations in .Net Basics on File operations

Accessing the different controls inside a GridView control

how we can access a particular control which resides inside a GridView control. In this article I will show you how you can access different controls inside a GridView control. We will see how we can access a TextBox control, a DropDownList control and a ListBox control. If you are working with ASP.NET 1.X then you might want to check out my article Accessing Different Controls Inside a DataGrid.

Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

How To Add calendar control inside a GridView

This article show hot to add calendar control inside a GridView with code in c#

Using ATLAS PopUp Control with Calendar inside the GridView Control

In this video tutorial Mohammad demonstrates how you can access the Calendar control which is displayed using the ATLAS PopUp control inside the GridView control.

RadioButton inside GridView, How to get it work as normal

Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend