Link to home
Start Free TrialLog in
Avatar of Shiggz
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

ASKER CERTIFIED SOLUTION
Avatar of ventolin
ventolin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Shiggz
Shiggz

ASKER

Doesn't work - Returns "Document contains no data" in Netscape and just hangs in IE4

Shiggz
Avatar of Shiggz

ASKER

Doesn't work - Returns "Document contains no data" in Netscape and just hangs in IE4

Shiggz
u must have not installed it correctly. try:

perl -c file.pl

check for 755 permissions

path to perl

path to pdf

Avatar of Shiggz

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

Avatar of Shiggz

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?