Creating archive files

  • Thread starter Thread starter JezB
  • Start date Start date
J

JezB

From a windows application, I want to provide an "archive" facility which
will scan a specific directory and put specific files into some single
"Archive file", a bit like a zip-file I guess, but more windows standard.
Then I want to provide a function "Import from Archive" which will accept
the name of such an archive file, and be able to extract the files into some
(other) directory (though normally it will be imported on a different
machine that exported the file).

What is provided within the .NET framework to perform generic archiving and
recovery in this fashion ?
 
The Framework 2.0 will include a class called "GZipStream" that'll do
exactly what you need.
For now, maybe you should implement one.
 
JezB said:
What is provided within the .NET framework to perform generic archiving
and recovery in this fashion ?

The Zip, GZip, BZip2 and Tar Implementation For .NET
<URL:http://www.icsharpcode.net/OpenSource/SharpZipLib/>

The VB.NET Resource Kit contains zipping functionality too:

The Visual Basic .NET Resource Kit
<URL:http://msdn.microsoft.com/vbasic/vbrkit/>

It contains ComponentOne Zip for .NET:

ComponentOne Zip™ for .NET
<URL:http://www.componentone.com/product...3569&SubCategoryTypeID=0&TabMapID=57&TabID=70>

Using J#'s zip functionality:

Using the Zip Classes in the J# Class Libraries to Compress Files and Data
with C#
<URL:http://msdn.microsoft.com/msdnmag/issues/03/06/zipcompression/>
 
"GZipStream"? what name space is that in? I have 2.0 installed at home and
would like to check it out.

--
Thanks
Wayne Sepega
Jacksonville, Fl


"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
 
System.IO.Compression

- Jay

Wayne said:
"GZipStream"? what name space is that in? I have 2.0 installed at home and
would like to check it out.

--
Thanks
Wayne Sepega
Jacksonville, Fl


"When a man sits with a pretty girl for an hour, it seems like a minute.
But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
 
Thanks for that - I happen to be using .NET beta 2 so this will be ideal -
I'll check it out.
 
Back
Top