[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Dowloading Vcard from Web Page
Straight href will do but you should call a java program, which will set the
header "Content-disposition" and write the file to output stream.
From: owner-imc-vcard@xxxxxxxxxxxx [mailto:owner-imc-vcard@xxxxxxxxxxxx] On
Behalf Of Matthew Mandell
Sent: Tuesday, September 27, 2005 7:00 PM
Subject: Dowloading Vcard from Web Page
I am trying to put Vcards on a web page for downloading. The link is a
straight "A Href=". The browsers are treating it as a flat text file and
showing the info rather than asking to download the file.
Is there a Java script or some way to trick the browser to ask it to
download rather than should the text?