473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Zip compression

Hello,

Is there C# sample source code avaible
(FREE or inexpensive) that performs Zip
compression.

TIA,
Jacques
Nov 15 '05 #1
4 1484
"jacques" <an*******@discussions.microsoft.com> wrote
Is there C# sample source code avaible
(FREE or inexpensive) that performs Zip
compression.


Take a look here:
http://www.icsharpcode.net/OpenSourc...b/Default.aspx

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
Nov 15 '05 #2
there are 2 free options I know of.
The SharpZipLib - mentioned below - works, but I believe is GPL ? which may
not work for you if you are an ISV and/or you worry about indeminification
issues. Also I seem to recall having issues using this within ASP.NET; the
SharpZipLib wanted to create a temporary file where the ASPNET user was not
permitted to do so. IIRC.

The other free option is to use the J# runtime. No such concerns here.
Check the 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/
Also, you didn't ask but....ComponentOne offers a commercial (non free) zip
runtime.

-D

"Pieter Philippaerts" <Pi****@nospam.mentalis.org> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
"jacques" <an*******@discussions.microsoft.com> wrote
Is there C# sample source code avaible
(FREE or inexpensive) that performs Zip
compression.


Take a look here:
http://www.icsharpcode.net/OpenSourc...b/Default.aspx

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl

Nov 15 '05 #3
Hi Pieter,

Thank you for responding to my posting.
I did find the file that you suggested.

Thanks again,
Jacques
Nov 15 '05 #4
Dino Chiesa [Microsoft] <di****@online.microsoft.com> wrote:
there are 2 free options I know of.
The SharpZipLib - mentioned below - works, but I believe is GPL ? which may
not work for you if you are an ISV and/or you worry about indeminification
issues.


It's GPL with a couple of exceptions though. From the SharpZipLib front
page:

<quote>
License

The library is released under the GPL with the following exception:

Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from or
based on this library. If you modify this library, you may extend this
exception to your version of the library, but you are not obligated to
do so. If you do not wish to do so, delete this exception statement
from your version.

Note The exception is changed to reflect the latest GNU Classpath
exception. Older versions of #ziplib did have another exception, but
the new one is clearer and it doesn't break compatibility with the old
one.

Bottom line In plain English this means you can use this library in
commercial closed-source applications.
</quote>

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jim Hubbard | last post by:
I went to the compression newsgroups, but all I saw was spam. So, I thought I'd post his question here to get the best info I could from other programmers. Which compression algorithm offers...
1
by: Maurice Mertens | last post by:
Hello, I'm having troubles with saving a tiff-file with a certain compression and colordepth. This is the code I use: ----------------------------------------------------------------------...
8
by: Anurag | last post by:
Hi, I am told that Oracle has this "data compression" feature that allows you to store online data ina compressed format. This is different from archived data - you compress only that data which...
2
by: deko | last post by:
Is it best practice to set Unicode Compression to "No" for memo fields in a table? What about text fields? According to the VB help entry: "Data in a Memo field is not compressed unless it...
17
by: dunric | last post by:
After writing the computing urban legend "The Helsinki Code", I spent several nights thinking up how in the world Gustav Larsson, the Finnish PDP-8 computer programmer, could have managed to...
1
by: chris.atlee | last post by:
I'm writing a program in python that creates tar files of a certain maximum size (to fit onto CD/DVD). One of the problems I'm running into is that when using compression, it's pretty much...
3
by: Benny Ng | last post by:
Dear All, Now I met some performance problems in my application. Because according to our business. The size of some web forms are larger than 1xxx MB. So it takes a long time for user opening a...
20
by: chance | last post by:
Hello, I want to add compression to a memory stream and save it in an Oracle database. This is the code I have so far: //save the Word document to a binary field, MemoryStream dataStream = new...
21
by: =?Utf-8?B?VkJB?= | last post by:
I compressed a file with GZipStream class and is larger than the original file.... how can this be?, the original file is 737 KB and the "compressed" file is 1.1 MB. Did i miss something or is...
3
by: GiJeet | last post by:
Hello, we have an app that scans documents into TIFF format and we need to transfer them over the internet. If anyone knows of a SDK we can use that can compress TIFFs on the fly or even if it can...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.