Zum Hauptinhalt wechseln

Anleitungen, die Sofwarethemen betreffen

208 Fragen Alle anzeigen
Frage geschlossen

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");

Beantwortet! Antwort anzeigen Ich habe das gleiche Problem

Ist dies eine gute Frage?

Bewertung 0
Einen Kommentar hinzufügen

1 Antwort

Gewählte Lösung

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

War diese Antwort hilfreich?

Bewertung 1
Einen Kommentar hinzufügen
Seitenaufrufe:

Letzte 24 Stunden: 0

Letzte 7 Tage: 0

Letzte 30 Tage: 1

Insgesamt: 2,428