-   Programming (
-   -   Force save to disk (

Wynand1 01-28-2005 01:03 AM

Force save to disk
I've just setup an FTP server which will contain pdf files. Now I want to email people the link to download a pdf file. When they click on the link it opens IE and then opens the Acrobat Reader plugin in IE. But this is not what I want , I want it to prompt them to save the file , how will I do this? (BTW they use Outlook)

twantrd 01-28-2005 01:17 AM

I don't believe this is a server-side issue.


Wynand1 01-28-2005 01:31 AM

Yes , It's not on the server side , but how do you create a link that forces the display of a "save as" dialog.

jlliagre 01-28-2005 01:53 AM

You can't, creating a link is a server side job, and the problem lies on the browser.
IE doesn't cares about the mimetype that would have allowed you to hide the fact the file is a pdf one, and anyway ftp doesn't pass a mimetype.
One workaround would probably be to zip the pdf, or to tell the user to right click or whaterver to save the file on the disk.

All times are GMT -5. The time now is 09:59 PM.