View Full Version : download Vcard
ne1ll
February 15th, 2007, 09:36 AM
Hello, I need a script....
How can I let a client download my vCard from a button.
Is it best to use getURL or FileReference?
Thanks,
Neil
newbie_geek
February 15th, 2007, 02:36 PM
you mean an outlook Vcard?
What kind of file/data is it?
ne1ll
February 16th, 2007, 11:06 AM
you mean an outlook Vcard?
What kind of file/data is it?
Its a vCard from Address Book (mac) problably works with outlook also.
newbie_geek
February 16th, 2007, 12:52 PM
are you interested in strictly getting them the "myfile.vcf" file? Or the data therein?
Because the simplest way to do the first is simply
on (Release) {
getURL ("http://www.mysite.com/myfile.vcf");
} then you may need to tool around with mime settings on your server to get it to be a downloadable file, but that will link to it.
ne1ll
February 16th, 2007, 02:47 PM
getting the data to them will be fine.
thanks for the code,
neil
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.