Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to ensure that a window always pops up in Download

 
Doshi Milan
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I wanted a help in downloading files. I am actually using Jspsmartupload for downloading.
It is working fine. However the probelem is that everytime I click for the file to be downloaded ,rather than showing a pop up window it straight away shows the content in the browser. This is true for the generally understood files like .jpeg, .doc,.txt.
Only when I give a not so common file extension will then the pop up window come and ask if I want to save the file ...

Hence how do I ensure that irrespective of the type of file , a window always pops up asking if I want to save the file ....
I guess it might be something to do with the mime type , so please remember that I am using Jspsmartupload.
Thanks in advance,
Regards,
Milan Doshi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic