469,627 Members | 1,090 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,627 developers. It's quick & easy.

Compression or containing Multiple files

Hi,

Does .NET have classes or in the near future have classes to allow me to
compress N files into one or somehow contain N files in one (even without
compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?

Fanks
Jul 21 '05 #1
6 1390
Hi,

Take a look at this article:

Using the Zip Classes in the J# Class Libraries to Compress Files and Data
with C#
MSDN Magazine, June 2003
http://msdn.microsoft.com/msdnmag/is...ipCompression/

Regards,

Gabriele

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does .NET have classes or in the near future have classes to allow me to
compress N files into one or somehow contain N files in one (even without
compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?

Fanks

Jul 21 '05 #2
That unfortunately requires my dependancy on yet another runtime (J#)

"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:Og*************@tk2msftngp13.phx.gbl...
Hi,

Take a look at this article:

Using the Zip Classes in the J# Class Libraries to Compress Files and Data
with C#
MSDN Magazine, June 2003
http://msdn.microsoft.com/msdnmag/is...ipCompression/

Regards,

Gabriele

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does .NET have classes or in the near future have classes to allow me to compress N files into one or somehow contain N files in one (even without compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?
Fanks


Jul 21 '05 #3
WIndows XP has built in compressed folders, I would assume its just a matter
of PInvoke on that library, but thats XP specific, I cant see any
Compression classes in the Longhorn or next up and comming .NET API set.

Since they have a license for XP and I assume LH for compression, why not
make it available in the Libraries?

The only other option is to use XML either as a manafest or as a container
with binary chunks.

<di********@discussion.microsoft.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl...
That unfortunately requires my dependancy on yet another runtime (J#)

"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:Og*************@tk2msftngp13.phx.gbl...
Hi,

Take a look at this article:

Using the Zip Classes in the J# Class Libraries to Compress Files and Data
with C#
MSDN Magazine, June 2003
http://msdn.microsoft.com/msdnmag/is...ipCompression/

Regards,

Gabriele

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does .NET have classes or in the near future have classes to allow
me to compress N files into one or somehow contain N files in one (even without compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?
Fanks



Jul 21 '05 #4
What about using alternate streams? NTFS files have the ability to have
multiple streams. The only downside is if you need to copy the file to a
FAT/FAT32 partition, only the primary stream will be copied.

Neil

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does .NET have classes or in the near future have classes to allow me to
compress N files into one or somehow contain N files in one (even without
compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?

Fanks

Jul 21 '05 #5
Check out Xceed's Zip compression managed library...

I beta tested it a while back, it worked great... they implemented the
compression as streams so you can compress/decompress anything... net
socket, filestream, memory bytes etc..
--
Eric Newton
C#/ASP Application Developer
er**@cc.ensoft-software.com [remove the first "CC."]

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does .NET have classes or in the near future have classes to allow me to
compress N files into one or somehow contain N files in one (even without
compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?

Fanks

Jul 21 '05 #6
XCeed has a Zip Compression assembly that you can use to create and
manipulate compressed files

www.xceed-software.com
--
Eric Newton
C#/ASP Application Developer
http://ensoft-software.com/
er**@cc.ensoft-software.com [remove the first "CC."]

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does .NET have classes or in the near future have classes to allow me to
compress N files into one or somehow contain N files in one (even without
compression)?

If .NET hasnt or wont, does the platform at all have any I can PInvoke?

Fanks

Jul 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by chris.atlee | last post: by
2 posts views Thread by Eyal Lotem | last post: by
2 posts views Thread by Neo | last post: by
21 posts views Thread by =?Utf-8?B?VkJB?= | last post: by
9 posts views Thread by csharpula csharp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.