when download file with docx extension, IE changes the .docx to .zip

Discussion in 'Internet Explorer' started by Bruce Sanderson, Aug 14, 2008.

  1. I put two Word 2007 documents (using the docx file type) on my website at
    http://download.microsoft.com/downl...8/OfficeProfessionalPlus2007ProductGuide.docx
    (near the bottom of the page).

    I found that when I use IE (6 or 7, Vista, XP, 2003) and click on the hyperlink the download dialog
    opens, but the file extension is magically changed from docx to .zip.

    Of course, one can change the extension in the download save location box, or after the file is
    downloaded, but that is only a workaround.

    I found (well actually a co-worker point me at) the page at
    http://www.eggheadcafe.com/software/aspnet/31497454/ie7-download-problem.aspx where this problem is
    discussed, but no solution (e.g. hot fix or otherwise) is reported there. Apparently, this problem
    only arises with IE - other browsers (e.g. Firefox) do not have this issue.

    Is there a kb article, hotfix, or perhaps a registry setting change that will cure this incorrect
    behaviour?

    I've tried turning on the setting "Open files based on content, not file extension" but that made no
    difference.
     
    Bruce Sanderson, Aug 14, 2008
    #1
    1. Advertisements

  2. Bruce Sanderson

    Leonard Grey Guest

    Just a thought: Could your security software be changing the extension?

    The e-mail component of some security software is (or can be) configured
    to automatically change the extension of a laundry list of file
    extensions known to carry malicious payloads. As for why this doesn't
    happen with non-Microsoft browsers, well, not all security software
    supports non-Microsoft browsers.
     
    Leonard Grey, Aug 14, 2008
    #2
    1. Advertisements

  3. Bruce Sanderson

    rob^_^ Guest

    rob^_^, Aug 14, 2008
    #3
  4. Bruce Sanderson

    Jay Freedman Guest

    You need to add the MIME types for the new file formats to your web server.
    This post has a list of them:
    http://www.webdeveloper.com/forum/showthread.php?t=162526.

    --
    Regards,
    Jay Freedman
    Microsoft Word MVP FAQ: http://word.mvps.org
    Email cannot be acknowledged; please post all follow-ups to the newsgroup so
    all may benefit.
     
    Jay Freedman, Aug 14, 2008
    #4
  5. Bruce Sanderson, Aug 15, 2008
    #5
  6. Thanks for your post. The only "security software" on this computer is that
    from Microsoft.

    I've also tried this on a brand new install of XP SP2 (IE 6) before any
    "software" was installed (not even any Microsoft updates) and the problem
    shows up there also, so I don't think this problem is caused by any
    "security software".

    --
    Bruce Sanderson
    http://members.shaw.ca/bsanders

    It is perfectly useless to know the right answer to the wrong question.
     
    Bruce Sanderson, Aug 15, 2008
    #6
  7. Thank you for your post and the link.

    The web server is provided by my ISP (shaw.ca) - I have absolutely no
    control over it whatsoever - all I can do is upload content.

    I understand that other web browsers (e.g. Firefox) don't have this problem,
    so why does something have to be done to the web server since the problem
    appears to be confined to IE?

    I have never seen IE change the file extension for any other file that I've
    downloaded - why would IE change the file extension for any file type
    anyway?

    If I click on the link to the file on my page, then select Open (instead of
    download) the file opens in Word, although the file name in the Word 2007
    title bar (top of the Word window) shows the file extension as .zip.

    If I click on the link to the file on my page, then select Download, the
    file extension shows as .zip (instead of docx).

    When I connect to the web site using the Windows Vista ftp client, it tells
    me that the file extension for the files is docx.

    Jay, perhaps you could ask one of your Microsoft contacts about this issue.

    --
    Bruce Sanderson
    http://members.shaw.ca/bsanders

    It is perfectly useless to know the right answer to the wrong question.
     
    Bruce Sanderson, Aug 15, 2008
    #7
  8. Bruce Sanderson

    rob^_^ Guest

    Hi Bruce,

    Dan's post looks like its on the money.

    Regards.
     
    rob^_^, Aug 15, 2008
    #8
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.