forcing file download, not file view
Posted on 2000-05-01
I have writtin a simple PERL script to view the contents of a directory and then write a web page with links to the different files in that directory....that is all fine and dandy. However, there are a few MS Word and Power Point files there that when the user clicks on the link, it tries to view the file in the browser instead of opening the save file dialog box. I know I can have the users right click and go to save target as, however this is not what I want. Is there any way to have the user click on the link and automatically open the save file dialog box with out automatically viewing the file in the browser?