Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
How to set link to prompt a download?
Old 07-28-2010, 01:46 PM How to set link to prompt a download?
Extreme Talker

Posts: 218
Name: Patric
Trades: 0
Hi,

I'm making a site, where one of the links is "download podcast" which is then just linking to a .mp4 file.

The .mp4 file just automatically loads into a browser if a user has quicktime installed, is there a way to just have it so that the link can have a prompt asking to download the file to a computer?

Thanks
Reckoner is offline
View Public Profile
 
 
Register now for full access!
Old 07-28-2010, 02:08 PM Re: How to set link to prompt a download?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,505
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Not with HTML.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 07-28-2010, 02:10 PM Re: How to set link to prompt a download?
Extreme Talker

Posts: 218
Name: Patric
Trades: 0
Well, can it be done with Javasript or Jquery or anything like that?

After a little investigating though, I don't think that can be done. I might just add a javascript hover over the link with instructions to right click "save target as to download this podcast."

Last edited by Reckoner; 07-28-2010 at 02:18 PM..
Reckoner is offline
View Public Profile
 
Old 07-28-2010, 02:11 PM Re: How to set link to prompt a download?
ModDish's Avatar
Super Talker

Posts: 116
Trades: 0
have a zipped copy of the file of the server, and have the download link point to the zip file, and it will prompt to download.
__________________
Thanks
Evan
From ModDish -
Please login or register to view this content. Registration is FREE
ModDish is offline
View Public Profile
 
Old 07-28-2010, 02:13 PM Re: How to set link to prompt a download?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,505
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by Reckoner View Post
Well, can it be done with Javasript or Jquery or anything like that?
Nope, server side code ONLY
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 07-28-2010, 02:14 PM Re: How to set link to prompt a download?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,505
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by ModDish View Post
have a zipped copy of the file of the server, and have the download link point to the zip file, and it will prompt to download.
Not necessarily, the end user may have set it so .zip files open automatically rather than prompt or download.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 07-28-2010, 02:24 PM Re: How to set link to prompt a download?
Extreme Talker

Posts: 218
Name: Patric
Trades: 0
Quote:
Originally Posted by ModDish View Post
have a zipped copy of the file of the server, and have the download link point to the zip file, and it will prompt to download.

This is a good idea. I might just stick with it... I highly doubt that anyone viewing my site would even know how to configure a .zip file to their browser.

Thanks for the responses guys.
Reckoner is offline
View Public Profile
 
Old 08-01-2010, 11:10 PM Re: How to set link to prompt a download?
Physicsguy's Avatar
404 - Title not found

Latest Blog Post:
Challenges
Posts: 822
Name: Scott
Location: Ontario
Trades: 0
PHP can do just that!

http://php.net/manual/en/function.header.php

Check that out, and before you go posting in the PHP section that it doesn't work, make sure that you don't have ANY OUTPUT before the header() declaration!
__________________
Check out my
Please login or register to view this content. Registration is FREE
Physicsguy is offline
View Public Profile
 
Closed Thread     « Reply to How to set link to prompt a download?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26327 seconds with 12 queries