“Force” the browser to save a file

Dan’s Web Tips: “How Do I Force…?” :

If you’re sending data files of some sort which the user ought to be saving instead of viewing in his/her browser, the best MIME type to use is application/octet-stream; this will usually cause a “save” dialog box to appear.

Say you were sending the text of a Blogger template…

Comments

No comments yet.

Sorry, the comment form is closed at this time.