How to force apache2 to have .zip files downloaded in binary mode?

Discussion in 'Apache' started by hans, Jul 30, 2010.

  1. #1
    Hi all

    I have one file - some 100MB file size - to download. All firefox users download the file correctly in binary mode by default. However I have noticed that IE users - specially all newer IE versions - get a broken file with modified md2sum because IE appears to download .zip files in ASCII mode and thus destroying the compressed .zip archive.

    Is there a way to configure apache2 to force a download in binary mode by file extension ?
     
    hans, Jul 30, 2010 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
  3. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #3
    thanks for the link
    I am testing that solution just now and see after a few weeks if that solves the IE binary mode download or if IE still downloads .zip files in ASCII mode if apache compression disabled.
     
    hans, Aug 6, 2010 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    I have tested the mentioned method - it apparently does NOT force IE to download .zip files in binary mode. the md5sum still wrong=IE downloaded files corrupted vs ffx files perfect.
     
    hans, Aug 6, 2010 IP
  5. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #5
    At least you know what you have to put into google search :p
     
    CSM, Aug 12, 2010 IP