Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 11-19-2007, 12:11 PM   #1 (permalink)
Inactive
 
bigleo23's Avatar
 
Join Date: 11-19-07
Location: Mansfield, OH
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

bigleo23 is liked by many
File download issue

I have a site where I want users to be able to download a vcard... The problem is if I link straight to it it just opens the file. How can I make it so the file has to download and not open? Please help!!!!
bigleo23 is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-20-2007, 01:24 AM   #2 (permalink)
v7n Mentor
 
Tomassi's Avatar
 
Join Date: 01-26-06
Location: netherlands
Posts: 2,453
iTrader: 0 / 0%
Latest Blog:
None

Tomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest order
Send a message via ICQ to Tomassi
you could zip it?
__________________
I still got me a signature to fill
Tomassi is online now  
Add Post to del.icio.us
Reply With Quote
Old 11-20-2007, 08:54 AM   #3 (permalink)
Junior Member
 
Join Date: 07-25-07
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

lagendary is liked by many
Agree, just zip it or stated beside the link (To download, right click as save target as..)
lagendary is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-06-2007, 01:04 AM   #4 (permalink)
Junior Member
 
Join Date: 12-06-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

WebGodzilla is liked by many
Action that a web browser takes when opening a file is determined by the MIME-type of the file. That MIME-type is returned by your web server software.

Most likely, your web server is set up to return the MIME-type text/plain for any unknown files. text/plain is just opened by browsers.

You should edit your web server's config file: associate the .vcf files with the application/octet-stream MIME-type. When the server returns that MIME type, browser doesn't even try to open it, and asks where to save it.
WebGodzilla is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i have someone download a file after pay pal? adambomb007 Coding Forum 2 11-29-2007 07:26 AM
File download issue bigleo23 Coding Forum 2 11-20-2007 02:58 PM
What script? Download / File managment jags2ooo Coding Forum 5 06-13-2007 12:19 AM
How to make a file available for download 3speed Web Design Lobby 4 07-05-2006 01:58 PM
How to show specific file download on a web Arfan Coding Forum 5 02-19-2004 07:06 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:53 AM.
© Copyright 2008 V7 Inc