Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When I download a file from my server, only specific extensions are working. This is really annoying since I want to be able to see how much time left to finish a download.

For example I uploaded an iOS app with extension .ipa (note: an .ipa file is the same of .zip file)

file.ipa --> does not show filesize when downloading

If I rename the SAME file (so exclude a big size problem) to different extension:

file.zip --> works fine shows filesize when downloading

test.xxx --> does not show filesize when downloading

test.rar --> does not show filesize when downloading

These are direct download links, not using any download scripts or anything. Why are some extensions (.zip) displaying the filesize and some not displaying them? I am using Server version: Apache/2.2.15 (Unix) server. I'm running PLESK 11.

share|improve this question
Apache normally serves static files with Content-Length, since it can be precomputed. This also allows clients to display progress. But if you apply any kind of transformation (mod_deflate, mod_substitute, etc) that makes the final length unknown, then the content-length is removed. Do you do some kind of filtering on *.ipa? Does a command line client confirm C-L is missing for *.ipa? –  covener Feb 24 '13 at 15:22

1 Answer 1

The most likely cause is gzip being active, and it ignores the zip file and tries to gzip the other one and thus cannot provide the total Content-length.

Check this answer out as well: http://stackoverflow.com/questions/6052208/unable-to-show-download-progress-of-file-from-new-server-worked-on-previous-ser

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.