Salta al contenuto principale

Machine-readable instructions that direct computer processors.

209 Domande Visualizza tutte
Domanda Chiusa

Download header cause zip file to be corrupt

We are making a download manager application ...

Download header cause zip file to be corrupt

Please see the code below

header("Content-type: $mimeType");

header("Content-Transfer-Encoding: Binary");

header("Content-length: ".$size);

header("Content-disposition: attachment; filename=\"".$a['name']."\"");

readfile("$pathside");

Risposto! Visualizza la risposta Anch'io ho questo problema

Questa è una buona domanda?

Punteggio 0
Aggiungi un commento

1 Risposta

Soluzione Prescelta

Please do the following to attempt to repair a Zip file with Windows:

  1. Click Start, click All Programs, and click Accessories
  2. Right click Command Prompt and choose Run as administrator
  3. Change directories to the folder where the corrupted Zip file is located
  4. Type: "C:\Program Files\WinZip\wzzip" -yf zipfile.zip

If didn't help, tha't might be your .zip archive was seriously corrupted, you may try http://www.zip.openfiletool.com/ ZIP Open File Tool

Questa risposta è stata utile?

Punteggio 1
Aggiungi un commento
Visualizza Statistiche:

Ultime 24 Ore: 0

Ultimi 7 Giorni: 0

Ultimi 30 Giorni: 1

Tutti i Tempi: 2,428