On Mar 5, 4:55 am, Andrew Poulos <ap_p...@hotmail.comwrote:
There's a file on the server that users may download. I can display a
link and have people right-mouse click it and choose "save..." but is
there a way to have a button the user clicks that pops up the "save as"
dialog?
just for an fyi:
browsers will popup the "save as" dialog depending on what the mime
type of the file is you are linking to. so for instance if you have a
pdf file, your browser sees the mime type as "application/pdf" and
will attemp to open it in the browser. if you have a .zip file, your
browser will see the mime type "application/zip" and recognize that it
should NOT try to open this file in the browser and you will get the
"save as" dialog popup.
Different mime types will either open the "save as" dialog or just try
to open the browser, and maybe some other action i'm missing. I'm not
sure if there are settings in the browser to change those behaviors or
not.