搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 3 个回答
  • 2 人有此问题
  • 8 次查看
  • 最后回复者为 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.

所有回复 (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).

由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.