Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 respostas
  • 2 have this problem
  • 8 views
  • Last reply by 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.

All Replies (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 modificouno o

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.