Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 3 réponses
  • 2 ont ce problème
  • 8 vues
  • Dernière réponse par 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.

Toutes les réponses (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).

Modifié le par 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.