Answer Posted / guest
When someone downloads a document, the server tells the
browser what type of file it is. The browser then picks the
appropriate helper application, or displays it himself. If
the server doesn't know the file type, it tells the browser
that the file is "text/plain", or just plain text. You will
have to ask your server admin to configure this particular
file with the MIME type you want.
"Forcing" a download is not what you are supposed to do.
After all, what is more convenient than having the proper
application started when I download a particular file?
Browsing through a download directory can be quite a pain.
And most browsers allow the user to download to disk if they
want to.
If the file must be saved to disk, as there is absolutely NO
other way to handle it, the MIME type should be
"application/octet-stream".
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is php a dynamic language?
What is html5 routing?
hi, What will be the connection string coding while developing one web page and the back end of HTML web page is Open Office Base (database). Also what will be insert query if we want to add value of field in a table, field is present on HTMl page. Thx in advance
What is an example of syntax?
Can I learn html5 without knowing html?
What is getelementbyid?
What is the use of an iframe tag?
What is deprecated in html5?
Is html back end?
What is HTML5 Web Storage?
What does html5 mean?
What is a section tag in html?
What are html controls?
What is the difference between hr and br tag?
What are the different ways to use different colors for different links or same link?