I have a link on my server that lets users download the .jad file I have got. But when I open this link in Google Chrome, it opens it as a text file rather than downloading the .jad file.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Update mime type configuration for your server and set mime type of *.jad file extension to ‘application/x-download’. This should make browser client downloading the file instead of rendering plain text of the file.
For example, if you are using apache http server you can update mime.types file by adding following line