Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 3 件の返信
  • 2 人がこの問題に困っています
  • 71 回表示
  • 最後の返信者: lechuza05

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.

すべての返信 (3)

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

Start Firefox in Use Troubleshoot Mode in Firefox 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).

この投稿は cor-el により に変更されました

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.

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.