Welcome to WebmasterWorld Guest from 188.8.131.52
I'd like to display a link that offers a vcard to download or to be opened in the default vcard application on the system (address book). while safari does this with ease, firefox does nothing. even if I explicitly download the vcard, it saves a 0 byte file (!). FYI: the file has got more then 0 bytes.
The only thread I found on webmasterworld about a similar vcard releated problem was the following one: Downloading vCard Links in a browser [webmasterworld.com]
If anyone can point me to somewhere that might help, that would be great. I even had problems finding the right forum for it on good'ol webmasterworld.
the problem is not vcard based, it was because of a wrong header that offered the browser the filename. correct headers must be (inkl. spaces and quotes):
Content-Disposition: inline; filename="file.ext"
Content-Disposition: attachment; filename="file.ext"
this was tested against mac osx and firefox. the only question left for me is, wether it is generally better to use inline or attachment in practise.