PHP Classes

corrupted files in zip download

Recommend this page to a friend!

      Zip File  >  All threads  >  corrupted files in zip download  >  (Un) Subscribe thread alerts  
Subject:corrupted files in zip download
Summary:my files are being coming corrupted in the zip files
Messages:3
Author:Mona Johnson
Date:2009-01-18 14:05:58
Update:2009-08-22 09:54:52
 

 


  1. corrupted files in zip download   Reply   Report abuse  
Picture of Mona Johnson Mona Johnson - 2009-01-18 14:05:58
I am using the example1.php and the class zip file.php that you have provided, the download is working correctly, however when I extract the files and try to launch them I am getting a corrupt message and am unable to open them.
Would anyone know what the problem is.

  2. Re: corrupted files in zip download   Reply   Report abuse  
Picture of Kim Emax Kim Emax - 2009-05-04 13:04:14 - In reply to message 1 from Mona Johnson
Mona, you wouldnīt by ay chance be using Mac? It seems thereīs a general problem with the BOMarchiever, if you use unzip from commandline itīs fine.

  3. Re: corrupted files in zip download   Reply   Report abuse  
Picture of Jason Stockton Jason Stockton - 2009-08-22 09:54:52 - In reply to message 1 from Mona Johnson
A lot of the Zip classes seem to have trouble unzipping on Mac. I had the same problem.

For a solution and working zip class check out this blog:
thewebdevelopmentblog.com/2009/08/s ...