Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

reg zip file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AVL - 03 Apr 2008 12:49 GMT
Hi
I've a requirement wherein I need to unzip a zipped folder programatically
in .net.
I've tried out System.IO.Compression namespace..but it writes the content into
bytes which I dont need..I need the files to unzipped to a new folder..

HOw can I acheive it..are there any third party dlls for it..any samples
Mark Fitzpatrick - 03 Apr 2008 16:02 GMT
Are you trying to open a zip file or a compressed folder. These are two
different things. If it's a zip file, then you can use a third-party zip
component to open the zip file and extract whatever is in there (file or
folder, it doesn't really matter). A good free one is the SharpZipLib over
at: http://www.icsharpcode.net/OpenSource/SharpZipLib/

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

> Hi
> I've a requirement wherein I need to unzip a zipped folder programatically
[quoted text clipped - 4 lines]
>
> HOw can I acheive it..are there any third party dlls for it..any samples
Hans Kesting - 03 Apr 2008 16:05 GMT
AVL was thinking very hard :
> Hi
> I've a requirement wherein I need to unzip a zipped folder programatically
[quoted text clipped - 3 lines]
>
> HOw can I acheive it..are there any third party dlls for it..any samples

The Compression namespace can only handle single files compressed with
the "gzip" algorithm, which differs from the "zip" algorithm.

Try SharpZipLib: http://www.icsharpcode.net/OpenSource/SharpZipLib/

Hans Kesting

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.