how can I have a file automatically download

ok the title is possibley a little bit misleading … the other day a question on boards was how can I have a file automagically popup the save as dialogue when you click on it … other peoples responses were to add in some text saying right click on the file and choose save as […]