Discussion Board
Subject: Unable to unzip the quotes file

Add Reply   
Author Messages
Joe (guest)

07/21/2006 8:37 AM Quote Reply Alert 
When I try to unzip the TAQ Quotes file, I get the message that the file is "invalid or corrupted".

What program do you recommend for unzipping these files?
Brandon
Posts:58

07/21/2006 8:41 AM Quote Reply Alert 
The reason for the error is that the zip format does not handle files >4gb properly. So the programs that implement the zip method are
left to come up with their own solutions or just not handle these files. Here are the options for the linux folks as we see them:

1) The recommended solution is PKware.
2) If they'd like to use a free alternative, gunzip should work even though it is a zip file. gunzip does in fact work with certain kinds of zip files
(we've confirmed this ourselves with the TAQ files).

You can try the following:
gunzip -S .zip taqquote20060720.zip

You will likely get a falsely triggered message about a length error. The following workaround will get it to decompress and just complain about
the error without deleting the result:
gunzip -S .zip < taqquote20060720.zip > taqquote20060720

This is not the recommended approach since there may be situations where there really is a problem with the zip (e.g. due to a corrupted download).

3) Info-zip's unzip is not recommended. It does not handle >4gb files well. They intend to provide better support in a future version.
Shane
Posts:6

12/18/2006 4:13 PM Quote Reply Alert 
We use 7-Zip to overcome this size limit. It's free an available for both Windows and Linux:

http://www.7-zip.org/
Add Reply

Quick Reply
Username:  
Subject:  
Body: