Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-14-2003, 04:27 PM   #1
Member (10 bit)
 
Join Date: Mar 1999
Location: San Francisco, CA US
Posts: 922
Why Do Zipped Files Get Corrupted On Download

I recently downloaded a zipped file and then tried to unzip it with its self-extractor. In the middle of unzipping it gave me a CRC file error and would not continue.

Fortunately I had a nice little program called Advanced Zip Repair which fixed it. But I don't understand why it is that zipped files get corrupted like that. I thought zipped files were supposed to protect files from getting corrupted.
Harry is offline   Reply With Quote
Old 07-14-2003, 05:08 PM   #2
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
It may not actually be corrupted, and can depend on which program was used to zip it.
If I use Winrar to make a zip, winzip claims it's corrupted, but winrar works.
__________________
Black holes are where God divided by zero...
Cheers, Jim

Jims Modems
reboot is offline   Reply With Quote
Old 07-15-2003, 04:56 PM   #3
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Shouldn't happen with a file that is a self extracting zip though?

David.
David_Jones is offline   Reply With Quote
Old 07-15-2003, 05:24 PM   #4
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Yup. Use Winrar to make it, and it'll give you the same message/problem.
reboot is offline   Reply With Quote
Old 07-16-2003, 12:22 AM   #5
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Bizarre - Obviously has to be a bug in Winrar if its self-extracting files are corrupt.

Can't you change to something else than Winrar?

David.
David_Jones is offline   Reply With Quote
Old 07-16-2003, 10:04 AM   #6
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Winrar offers far better compression than winzip (and it's clones), which is why many prefer to use it. It's not a bug, it's by design.
For personal use, I always make .rar files, especially nice for creating smaller chunks from one big file, and they join together automatically.
If you're going to be downloading stuff from those places, then get a copy of Winrar and use it instead of Winzip.
If you're on XP, just use the built in zip functions, which will coexist with Winrar with no problems.
reboot is offline   Reply With Quote
Old 07-16-2003, 10:41 AM   #7
Banned
 
morriswindgate's Avatar
 
Join Date: Jul 2000
Location: Bakersfield,CA
Posts: 7,761
And the newest version of WinRAR will extract ISOs
morriswindgate is offline   Reply With Quote
Old 07-16-2003, 05:32 PM   #8
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Useful to know.

I'll have to try WinRar.

It still seems to me it must be buggy though. If I create a self extracting zip with WinRar and it won't then extract, how can that not be a bug?

I could entirely understand that Winzip (say) won't be able to read the self extracting exe, but I would only send a self extracting file to someone who doesn't have winzip or winrar wouldn't I?

Yours in slight confusion,

David.
David_Jones is offline   Reply With Quote
Old 07-16-2003, 05:43 PM   #9
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Something about the way it makes the self extractor. Seems it only works on other system's that have winrar installed.
I know there's a ton of complaints about that on various BBS's, but the author insists that it's designed that way, mostly for the hacker crowd that first started using winrar, so that the lamers couldn't steal their archived files easily. You had to be "in the know" to use it.

That said, there are any number of reasons that a downloaded file won't extract properly, I was just trying to point out that the most common cause that I've found, is because of the use of winrar.
reboot is offline   Reply With Quote
Old 07-16-2003, 10:56 PM   #10
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Thanks for the enlightenment!
David_Jones is offline   Reply With Quote
Old 07-16-2003, 11:27 PM   #11
iTroll
 
imbest123's Avatar
 
Join Date: Jul 2003
Location: 818
Posts: 2,252
it could be that you never downloaded it completely
imbest123 is offline   Reply With Quote
Old 07-17-2003, 10:20 AM   #12
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
OK, here's another couple of things.
If the file upload was interrupted, and then resumed originally, it may be corrupted, because it didn't resume properly.
Same problem with a download, especially using some of the not-so-good download managers.
If the file contained a virus or trojan, the virus scanner used on it originally may have rendered it useless, and the unzip program can't decipher the problem, or checksum's don't match.
If the file contains a virus or trojan, it may be "corrupted" by YOUR antivirus scanner upon download, as the AV tries to keep the file intact, while removing the trojan bits.
reboot is offline   Reply With Quote
Old 07-17-2003, 11:31 AM   #13
Member (7 bit)
 
Dreamscape's Avatar
 
Join Date: May 2003
Location: Tranquility
Posts: 112
Check yourself for the CIH virus

Having it happen with all self extracting files would make me wary. It is an old, easy to remove virus, so do not fret. But hopefully and probably this is not the problem.

Last edited by Dreamscape; 07-17-2003 at 11:35 AM.
Dreamscape is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2