W3C home > Mailing lists > Public > www-html@w3.org > October 2003

Open <a href> as a Save File dialogue box rather than printing the content to browser

From: kaiwen <cal_kaiwen@hotmail.com>
Date: Fri, 3 Oct 2003 13:09:04 +0800
To: <www-html@w3.org>
Message-ID: <Law11-OE38EMzAUor0300001b64@hotmail.com>

I am not sure is the email address is correct.

I have this segment of html in a cgi file:-

<a href=>Right-click here to download Certificate Signing Request</a><br><br>

I wanted user to be able to CLICK on the link and a 'Save as...' dialogue box appear for the to save the file to local machine. But, IE open it as a text file in the browser itself...

What should I do?

I tried to <a type=application/x-msdownload....>, but failed to get what I wanted too.

Please advice :) Thank you

Best regards,
Calvin Kuan
Received on Friday, 3 October 2003 01:12:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:05 UTC