Jump to content

Download DOCX file


Recommended Posts

Hello, sorry for my English.

My problem is this: I have an application that runs under IIS 7 before had no problem downloading the docx files, but now does not let me download.

I have added the following line in servermodule OnCreate
   MimeTable.AddMimeType ('docx', 'word');

I tested the application in the StandAloneServer so I have no problems in downloading these files, I think the problem is the configuration of IIS but it is rare that did not happen.

Someone who has had this problem?

Thank You.


Link to comment
Share on other sites

Hello Farshad, could find the cause of my problem and gave a temporary solution.

The problem was due to the filename in the string '%20' and under IIS was not allowed me to download it (just no download, no error messages), what I did was replace '% 20' by '_' before downloading.

Thank You.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...