Return of word docs as zipped xml files??

  • Profile Image
    Asked on December 01, 2011 at 08:15 PM

    Hi , we have an odd issue. When we send a word doc via upload in Jotform we get back a zipped xml file via our dashboard (throough AWS I believe), not the word doc. The doc is uploaded and received on the same computer, so there should be no compatibility issues. These are pending submissions, although that shouldn't of course make a difference. 

    Here's the form  (relevant section is 'narrative text' upload)

    Any ideas? 

    Thanks in advance


  • Profile Image
    Answered on December 01, 2011 at 08:26 PM

    .docx files are effectively xml files.

    Are you on IE8? Try adding the web address of your dashboard to its trusted sites list. 


  • Profile Image
    Answered on December 01, 2011 at 08:38 PM

    Hi fxr, I've done that.

    Hasn't seemed to work. In any case, shouldn't Jotform return what what was sent ... in it's original format? Still confused!



  • Profile Image
    Answered on December 01, 2011 at 08:57 PM

    I have seen this issue before, I am 90% certain that its an issue specific to IE. 

    I believe if you rename that .zip file you download as a .docx , it will open in word normally. 

    A docx document is in reality a zipped xml archive. For secuirty reasons, IE is looking at the file header, thinks its looks like a zip archive, so renames the file (very cleverly indeed) as a .zip file. 

    You can also try adding to your trusted sites. What we are trying to do is tell IE to stop being so clever and just download the file without the reading its headers.

    If that still doesnt work, you can try this:

    1. In the upper-right corner of IE8, click on Tools to open the drop down menu;

    2. At the bottom of the Tools menu, click Internet Options;

    3. In the Internet Options dialog box, select the Security tab;

    4. On the Security tab, select the Internet zone, then click the Custom Level button;

    5. Scroll about 2/3 down the list to the option "Open file based on content, not file extension" and change the setting to Disable;

    6. Click OK;

    7. Repeat steps 4-6 for the Local Intranet zone and Trusted Sites zone;

    8. Click OK;

    9. Close all instances of IE8;

    10. Reopen IE8 and it should now recognize Office 2007 and 2010 file extensions when saving email attachments.


    Another option you have is to have whoever is doing the uploads to use the .doc Word format rather than .docx .


    And another solution; in your organisation is there many people affected? there may be something we can do on the server that could resolve it. 

  • Profile Image
    Answered on December 01, 2011 at 09:12 PM

    Hi fxr, thanks, I'll have a fiddle about to see if this all works.

    ....Although the easiest solution seems to be your second last one!