Shiggz
asked on
Prompting PDF to be saved not displyed in IE
Is there some code to prompt IE4 to show a dialogue box to allow Saving of a PDF file that is dynamically served, rather than from a link. I want the equivalent of right-clicking a text link on IE to be prompted on a transparent download so that the URL remains hidden.
Shiggz
Shiggz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Doesn't work - Returns "Document contains no data" in Netscape and just hangs in IE4
Shiggz
Shiggz
u must have not installed it correctly. try:
perl -c file.pl
check for 755 permissions
path to perl
path to pdf
perl -c file.pl
check for 755 permissions
path to perl
path to pdf
ASKER
Nope - Checked all of that already
must be something else, your server may not be configured correctly. here is this exact code in action:
nervepinch.com/cgi-bin/pdf .pl
nervepinch.com/cgi-bin/pdf
ASKER
It works as far as hiding the real URL of the PDF but it doesnot allow a "Save Target As" dialogue box in IE which is what I need - there is no way of saving this file as a PDF from IE to a local machine as the only options from "File>Save As" are HTML or TEXT.
Any ideas?
Any ideas?
ASKER
Shiggz