+ Post New Thread
Results 1 to 11 of 11
Office Software Thread, DOCX as ZIP , workaround? in Technical; I've been looking for a simple workaround by keeping the file as .docx but havent found one. The problem: Teacher ...
  1. #1
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    276
    Thank Post
    58
    Thanked 9 Times in 9 Posts
    Rep Power
    16

    DOCX as ZIP , workaround?

    I've been looking for a simple workaround by keeping the file as .docx but havent found one.

    The problem:
    Teacher adds a Word 2007 .docx file for his Word 2007 class and when students try to download it, it saves as a zip file.

    Is there a workaround for this? (without using firefox)

  2. #2

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,094
    Thank Post
    217
    Thanked 1,292 Times in 802 Posts
    Blog Entries
    4
    Rep Power
    513
    downloading from where?

  3. #3

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,827
    Thank Post
    146
    Thanked 573 Times in 517 Posts
    Rep Power
    154
    Email, as a guess. What email system are you using? We are finding this with Squirrelmail, but if the download link is used it tends to work. Not sure with Outlook etc though.

  4. #4
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    112
    It seems as if IIS / Apache does not understand this format, is scanning the document, and due to the file format change, interpreting the document as a zip file.

    1. Get to the Internet Management snap-in any way you like
    2. Right click “Web Sites” and select “Properties” to modify the global behavior, or any specific website to edit just that one
    3. Select “HTTP Headers”
    4. Select “Mime Types”
    5. Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension.
    6. Click “OK” to close all the dialogs


    Extension MIME Type
    .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
    .potx application/vnd.openxmlformats-officedocument.presentationml.template
    .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
    .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
    .sldx application/vnd.openxmlformats-officedocument.presentationml.slide
    .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
    .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
    .xlam application/vnd.ms-excel.addin.macroEnabled.12
    .xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12

    For Apache place in .htaccess
    AddType application/vnd.ms-word.document.macroEnabled.12 .docm
    AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
    AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
    AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm
    AddType application/vnd.openxmlformats-officedocument.presentationml.template potx
    AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
    AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
    AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
    AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
    AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
    AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam
    AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
    AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
    AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
    AddType application/vnd.ms-excel.template.macroEnabled.12 xltm
    AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
    Last edited by somabc; 22nd September 2009 at 04:48 PM.

  5. #5

    Join Date
    Apr 2007
    Location
    Christchurch
    Posts
    420
    Thank Post
    41
    Thanked 64 Times in 62 Posts
    Rep Power
    26
    We had the same problem when attatching docx files and emailing them through the county email system ... the problem was that the exchange server didnt recognise docx files went down the list and ended up with the last one IE zip ... so sent them as zip files ... try opening them as a zip and you get rubbish

    The answer was to simply rename the recieved file with a docx extension and the file was back in shape ...

    so for example ... test.zip rename test.docx

    Hope this helps

    Cheers for now
    Brian

    Silicon Keyboards with lower case letters

  6. #6
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    276
    Thank Post
    58
    Thanked 9 Times in 9 Posts
    Rep Power
    16
    Sorry, from our own website.
    It's just a link.. Here's an example.

  7. #7

    Join Date
    Apr 2007
    Location
    Christchurch
    Posts
    420
    Thank Post
    41
    Thanked 64 Times in 62 Posts
    Rep Power
    26
    Hiyah just renamed your test file and it worked !!!

    Cheers
    Brian
    Silicon Keyboards with lower case letters

  8. #8

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,572 Times in 1,252 Posts
    Rep Power
    340
    The easiest/simplest solution around this is to download Ork Tools for Office 2007. You can then specify the default Save As format and specify .doc.

  9. #9
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    276
    Thank Post
    58
    Thanked 9 Times in 9 Posts
    Rep Power
    16
    Looks like the 'real world' solution right now is to just change the extension of the file.

    I would suggest to the teacher/students to save all files as .doc, however I fear they may lose some kind of formatting in doing so.

    Thanks again!

  10. #10

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    @brpilot: A docx is really a zip file (yes, you can decompress it yourself) so it wasn't just the last in the list, your webserver was actually being intelligent

  11. #11
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,832
    Thank Post
    918
    Thanked 423 Times in 356 Posts
    Blog Entries
    12
    Rep Power
    88
    Quote Originally Posted by somabc View Post
    It seems as if IIS / Apache does not understand this format, is scanning the document, and due to the file format change, interpreting the document as a zip file.

    1. Get to the Internet Management snap-in any way you like
    2. Right click “Web Sites” and select “Properties” to modify the global behavior, or any specific website to edit just that one
    3. Select “HTTP Headers”
    4. Select “Mime Types”
    5. Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension.
    6. Click “OK” to close all the dialogs


    Extension MIME Type
    .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
    .potx application/vnd.openxmlformats-officedocument.presentationml.template
    .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
    .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
    .sldx application/vnd.openxmlformats-officedocument.presentationml.slide
    .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
    .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
    .xlam application/vnd.ms-excel.addin.macroEnabled.12
    .xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12
    Thanks for this!

    Its been bugging me for a while

SHARE:
+ Post New Thread

Similar Threads

  1. Can not open docx files in OWA
    By Biker in forum Windows
    Replies: 13
    Last Post: 7th September 2009, 04:34 PM
  2. [OpenOffice - 3] .docx
    By Batman in forum Office Software
    Replies: 3
    Last Post: 28th March 2009, 03:58 PM
  3. Docx files opening at zip files
    By tomscaper in forum Office Software
    Replies: 20
    Last Post: 18th September 2008, 10:37 AM
  4. Mass Convert of .docx to .doc
    By Sylv3r in forum Office Software
    Replies: 21
    Last Post: 20th June 2008, 05:24 PM
  5. yourOS.com - filter workaround
    By pooley in forum Links
    Replies: 15
    Last Post: 30th July 2006, 08:20 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •