PDA

View Full Version : Forced SAVE of download, not OPEN


Ultragames
02-21-2005, 03:22 AM
When clicking a button, i have the button set the action='' of a form to the file i want them to download. This works fine. However, i don't want them to be able to open the file in IE, (or with firefox, it ONLY opens it in the browser)

How can i force SAVING?

Thanks

hemebond
02-21-2005, 04:12 AM
You can't unless you send the file to the user with a MIME-type they can't open, which is just silly and you should leave it to the user to decide if they save it or open it.