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 / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Pack directory with subdirs and files into file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Piotrekk - 10 Sep 2007 17:41 GMT
Hi

My goal is to pack directory structure ( via code )  into file. Then i
need to have access to these directories packed in this file ( maybe
via some collection or something ). Is there a common way to do this?

Thanks for help and Regards
PK
Vadym Stetsiak - 11 Sep 2007 08:59 GMT
Hello, Piotrekk!

You can use a free zip library
( http://www.icsharpcode.net/OpenSource/SharpZipLib/ )
and pack all the dirs and files into one zip file.

The API in this library will let you browse files and dirs stored in the zip
arch.

HTH
--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote  on Mon, 10 Sep 2007 09:41:43 -0700:

P> Hi

P> My goal is to pack directory structure ( via code )  into file. Then
P> i need to have access to these directories packed in this file (
P> maybe via some collection or something ). Is there a common way to do
P> this?

P> Thanks for help and Regards
P> PK
Piotrekk - 11 Sep 2007 13:10 GMT
Thanks. I will for sure read about this library.

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.