473,395 Members | 1,577 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,395 software developers and data experts.

Uncompressing 64-bit Zip Files?


Is anyone aware of native dotnet code to uncompress 64-bit Zip files?
Everything I have found so far can only uncompress files inside a zip file
up to 9Gig.

Any thoughts?

Thanks in advanced,

Scott
Nov 16 '05 #1
7 3612
Hi ScottO,

Thanks for posting in this group.

Can you tell me what does your "64-bit" zip file mean? Also, what is "9Gig"?

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #2


Jeff,

To be more specific Winzip 9.0 can compress files over 4 Gig now. It uses
"64-bit extensions". PK 2.0's normal limitation is 4 Gig.
http://www.winzip.com/wzdic.htm

I tried to uncompress a file that contained over 9 gigs of data using
SharpZipLib <big shout out!!!> but it throw an error after 7.6 Gig. After we
made some INTs to LONGs and some other modification the entire 9 Gig
uncompressed. Next steps are to see if it really works or just pretended to
work <grin>. Then we'll try to make the same changes to the compression
routine. The GZip library in SharpZipLib might allow me to compress a 9 Gig
but I haven't tested it yet.

It is truly AMAZING to take a 7.7 Gig ASCII file (with a lot of spaces in
it) compress down to 200 MB. Then compress the compressed file a second time
to a mere 4.5 MB!

I think I am good shape now but any comments on compression and .NET are
greatly appreciated.

Scott

""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
news:cX**************@cpmsftngxa10.phx.gbl...
Hi ScottO,

Thanks for posting in this group.

Can you tell me what does your "64-bit" zip file mean? Also, what is "9Gig"?
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #3
"Jeffrey Tan[MSFT]" wrote:
Hi ScottO,

Thanks for posting in this group.

Can you tell me what does your "64-bit" zip file mean? Also, what is
"9Gig"?

Thank you for your patience and cooperation. If you have any
questions or concerns, please feel free to post it in the group. I am
standing by to be of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no
rights.

I think is means deflate64 an extension to the Zip file format to allow
extremely large files to be handled (2^64). It uses a 64k window for
compressing as well as extensions to the file format.

-jr-
Nov 16 '05 #4
Hi Scott,

Thanks very much for your feedback.

I am glad you have workaround this issue. I think the reason of needing
change "int" to "long" may be that, long is System.Int64 type in .Net, and
it is 64-bit, when applying compress algorithm, "int" may overflow for big
file.

For your other compress issue, I think it is due to the algorithm. It seems
that SharpZipLib is a free and open source library. You may discover its
root cause in the source code.

Also, I think you may consult the SharpZipLib related issue at that
compony's web site, you may get more help there, because more people use
SharpZipLib there. :-)

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #5
Hi Scott,

If you are interested in good compression then you might try Bzip2
which tends to compress a little better than Zip compressors. I think
it will handle very large files also.

I am also interested in the changes you made to SharpZipLib which I use
a little myself.
Cheers,

-jr-
ScottO wrote:


Jeff,

To be more specific Winzip 9.0 can compress files over 4 Gig now. It
uses "64-bit extensions". PK 2.0's normal limitation is 4 Gig.
http://www.winzip.com/wzdic.htm

I tried to uncompress a file that contained over 9 gigs of data using
SharpZipLib <big shout out!!!> but it throw an error after 7.6 Gig.
After we made some INTs to LONGs and some other modification the
entire 9 Gig uncompressed. Next steps are to see if it really works
or just pretended to work <grin>. Then we'll try to make the same
changes to the compression routine. The GZip library in SharpZipLib
might allow me to compress a 9 Gig but I haven't tested it yet.

It is truly AMAZING to take a 7.7 Gig ASCII file (with a lot of
spaces in it) compress down to 200 MB. Then compress the compressed
file a second time to a mere 4.5 MB!

I think I am good shape now but any comments on compression and .NET
are greatly appreciated.

Scott

Nov 16 '05 #6
I'm using SharpZipLib now and I was curious if you found PKZip to be
faster then SharpZipLib when called from C#. I'm not too concern
about size I need speed. I'm also only working with byte arrays not
files.

If anybody has any other suggestions on the fastest compression
library I would greatly appreciate it.
Nov 16 '05 #7
Hi Scott,

Does our reply make sense to you? Do you still have any concern on this
issue?

Please feel free to post. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #8

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

Similar topics

0
by: Marc Poinot | last post by:
Did anybody use numarray on a 64 bits platform ? (e.g. SGI/Irix) The package works on our 64 bits platforms... using 32 bits mode, but not using 64 mode. Big crash in _ufunc... Is there a flag to...
3
by: Odd Bjørn Andersen | last post by:
I was asked to install db2 udb workgroup edition (version 7.2) 64-bits on AIX. But I cannot find that we have a CD with that software. Only Enterprise Edition. Is it correct that you have to...
56
by: Dave Vandervies | last post by:
I just fixed a bug that some of the correctness pedants around here may find useful as ammunition. The problem was that some code would, very occasionally, die with a segmentation violation...
3
by: some one | last post by:
I have kind of wired problem, I using httpwebrequest to post form data to server , in the GetResponse stage a WebException occurred, after tracing the actual error that occurs on the server, I...
1
by: mel_apiso | last post by:
Hi, we have an AIX 5.3 OS, and we purchased DB2 UDB version 8 Workgroup Edition. We want to install 64 bits version, but the source CD's that we have say: WORKGROUP SERVER EDITION Version...
3
by: yogesh | last post by:
I have compiled kernel 2.4.18 . I have followed the following sequence ... as make mrproper make xconfig make dep make make modules make modules_install then copied system.map and bzimage to...
13
by: Mary Lei | last post by:
Does anyone know the link to obtain the tarball for db2 8.1 for solaris running on AMD 64 bit ? This is the entire db2 installation on a new system that does not have db2. Thanks.
10
by: krunalb | last post by:
Hi, I am trying to shift unsigned long long value by 64 bits and this is what i get #include <stdio.h> int main() { unsigned short shiftby= 64;
14
by: mosi | last post by:
Problem: how to get binary from integer and vice versa? The simplest way I know is: a = 0100 a 64 but: a = 100 (I want binary number) does not work that way.
1
by: =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post by:
I have read many things about this but I haven't got a clear vision on what to do if anything about this. I have a system that tries to find holes in my web site. One of the things it has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.