Solved

vCard -opens as text on chome and firefox

Posted on 2013-05-28
11
714 Views
Last Modified: 2013-06-02
experts

i am having a small issue.

basically i would like to add vCard on outlook signature that links to our ftp site (vcards location), IE saves the file correctly but chrome and firefox opens vcf files as texts.
i read somewhere that it has something to do with MIME types extension addition but this is nowhere to be found on default ftp site.

what do i do?
thank you for your help
0
Comment
Question by:russus
  • 5
  • 4
  • 2
11 Comments
 
LVL 16

Expert Comment

by:AlexPace
Comment Utility
Please give more details.  There are no MIME types for FTP so  I suspect the issue is between the browser and the vCard format rather than the address or protocol in the URL.
0
 
LVL 21

Expert Comment

by:Haresh Nikumbh
Comment Utility
you need to add mime type setting in IIS.

add .vfs file in mime type setting and verify
0
 

Author Comment

by:russus
Comment Utility
thank you for your replies
Alexpace, link below explains exactly my problem and the way around it but using website folders rather than ftp site

http://www.thedr1ver.com/2011/08/how-to-make-vcards-downloadable-add.html

takecoffe, did you mean add .vcf with extension "text/x-vcard" because it is on the list. i don't know .vfs extension
0
 
LVL 16

Expert Comment

by:AlexPace
Comment Utility
@russus those instructions are for configuring a web server so that the vCard's MIME type is included in the server's HTTP response header when the vCard file is served to a browser.  The MIME type will help the browser know what to do with the file.

That page you linked above does mention FTP but that part it is talking about how, if you are using a hosting company for your web server, the logon credentials for modifying web server settings are probably the same as the FTP credentials you use to upload files to the site.

If I understand your situation then you do want to configure your web server to return the MIME type but that fact that the URL in the address text happens to be on an FTP server instead of a web server should not impact this inquiry... in other words, you would still have this browser vCard issue if the listed address was a physical street address or post office box or rather than a URL to an FTP server.
0
 
LVL 21

Expert Comment

by:Haresh Nikumbh
Comment Utility
takecoffe, did you mean add .vcf with extension "text/x-vcard" because it is on the list. i don't know .vfs extension

Yes
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:russus
Comment Utility
yes but i don't want to use the website's ftp files. i have an ftp site hosted on one of the servers in-house.

i'll tell you exactly what i am trying to do;
i was checking a competitor's website and i saw under their staff on the "team" page, Download vCard. and it links to www.competitor'sdomain.com/vcf/name.vcf so i thought i would like to do that but instead of using this on the website, i will use the "download vCard" link on my outlook signature which i linked it to our in-house ftp site folders on the file server.
it worked perfectly if the person (adding my details to their outlook from my signature's vCard) is using IE as their default browser.

anyone using chrome or firefox, the vcard opens as text and it doesn't download it
0
 
LVL 16

Expert Comment

by:AlexPace
Comment Utility
OK, I think maybe I was not understanding your intention...

It isn't that the data inside your vCard file contains a reference to a file on an FTP site but rather that the vCard file is itself hosted on an FTP site?  Is that right?
0
 

Author Comment

by:russus
Comment Utility
yes, i created a folder on the ftp site called vcf. firewall rule created,
ftp://ourPublicIP/ftp/vcf takes me straight there where myName.vcf is hosted.
0
 
LVL 16

Expert Comment

by:AlexPace
Comment Utility
OK, the thing is that FTP servers do not send metadata the way that web servers do so, if the browser does not already know what to do with a particular file type, there isn't a good way to "tell" it how to process the file.
0
 

Author Comment

by:russus
Comment Utility
is there a workaround i can do instead of using the website files?
0
 
LVL 16

Accepted Solution

by:
AlexPace earned 250 total points
Comment Utility
You can host the file on a web server or configure the client browsers to recognize the extension.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now