View Single Post
Old 02-15-2005, 08:17 PM   #124 (permalink)
ChrisB
I'm Lovin' It!
 
ChrisB's Avatar
 
Join Date: Oct 2003
Location: Newport Beach, CA
Posts: 3,968
Images: 1
Quote:
Originally Posted by mrluky
im hosting it, i wanna know how to do the html so you can jsut click it and a download prompt will show
From the server end, you can't force a download prompt. If the user's browser has that file type associated with a plugin, it will just pass the file to the plugin. The user can force a Download->Save As prompt by right-clicking on one of the links you have on your page and selecting "Save target as" from the context menu.

You could force a download by changing the link to pull from an FTP server. The html to do that would look like: (EDIT: the forum software interpreted the html code and turned it into a hyperlink. Roll your mouse over the link and see the source html in the IE browser status bar, or right-click and view source)

<a href="ftp://ftp.patmedia.net/soheila/Koenigsegg.wmv">Koenigsegg Swedish Super Car</a><br>

...assuming you had an FTP server at ftp.patmedia.net/soheila (or substitute whatever your FTP server address is).

Last edited by ChrisB : 02-15-2005 at 08:23 PM.
ChrisB is offline   Reply With Quote