Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Why is Firefox downloading one extra byte, causing a corrupt download?

  • 3 odgovori
  • 2 imata to težavo
  • 8 ogledov
  • Zadnji odgovor od lechuza05

more options

I have uploaded an iPhone app (.ipa file) to our company's web server for a client to download. When I download this with Safari on the Mac or Internet Explorer on the PC, the file downloads fine, with the correct file size. However, when I download using Firefox (on both the PC and the Mac), the download turns out to be one (1) byte too large and is thus corrupt (iTunes won't load it, complains it has been modified). iTunes has no problem installing the version from IE/Safari. Any ideas? I cannot give anyone access to the app for testing, so don't bother asking. I am open to any other ideas/suggestions though.

I have uploaded an iPhone app (.ipa file) to our company's web server for a client to download. When I download this with Safari on the Mac or Internet Explorer on the PC, the file downloads fine, with the correct file size. However, when I download using Firefox (on both the PC and the Mac), the download turns out to be one (1) byte too large and is thus corrupt (iTunes won't load it, complains it has been modified). iTunes has no problem installing the version from IE/Safari. Any ideas? I cannot give anyone access to the app for testing, so don't bother asking. I am open to any other ideas/suggestions though.

Vsi odgovori (3)

more options

Did you compare the files to see in which way they differ?
Does that also happen with other files?

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

Spremenil cor-el

more options

I am not able to compare the files because they are too large (1.19 GB ea.). I'm trying to find a solution that will allow me to compare the two, but at this point it is not possible due to limitations on my system RAM. I tried downloading again using Firefox Safe Mode and I am seeing the same result. Resulting file size is 1,189,268,247 bytes when it should be 1,189,268,246 bytes. Actual file size of the file on the server is correct, as are the ones download with IE or Safari.

more options

Solved: thanks to another seemingly unrelated issue that we noticed, I was able to come to the conclusion that one of the PHP scripts on the server had an extra newline character at the end of the page, so that was becoming the first byte of the file. It was a nightmare to try to troubleshoot though.

Curious, though, is why IE and Safari were able to negotiate this and still download a valid .ipa file.