HTML - Creating A Download Link?
Say for example i wanted to create a stream for an mp3 file, i would create an .m3u file with just the url location inside. Could i create some kind of extension for a 'normal' file such as a rar. or zipped file. Just the url location inside some kind of file?
Similar TutorialsGreetings! This is my first post on these forums, my apologies if I do not format is properly, or such. Also, I have no code to copy here to be looked at.. I am more looking for some advice, or to be pointed in the right direction.. We want to create a download page on our website, where customers can download our product after paying, but we want the URL to expire. (Or we can make it password encrypted with a password which expires). We have the website worked out up the point of payment, we now just need to code a page which we can distribute our product on. I've bought many items before, like online e-books, or computer software, where the download stays open for 24 hours, and then closes, and that is what we are after. Can anyone point me in the direction of, or assit me in how I can make a start with this please? Some notes on the product(s): Each download is 37 MB (four downloads of four e-books) Small PDF file. Hosting space and bandwidth is not a issue. A note on ourselves: We have quite a lot of experiance within the team creating our own websites with GoLive, but none of us have done anything like this before, and we're all a little lost. I do very much appriciate your time for first reading this, and secondly I will be thrilled if you will also spend your time to help us! Thank you for reading, it's deeply appreciated. Warm regards, Nick I have placed some mp3 files into a folder in my httpdocs. Then I emailed the link to a file. When I select the emailed link, the mp3 plays. But I'd like to download the file, but I don't see where/how. When I right click the link, my only choices a Select All Look Up... Translate... The greyed-out (unavailable) choices a Cut Copy Paste Clear Shouldn't it be when I right click the link the choices should be Save Save As I'm using IE, and the same is true when i put the url in the browser of when I Alt-F. Save is still greyed out. How can I do this correctly so it's easy to download the file? Thanks. hi, can someone tell me how to write a link to force the download option to appear in the browser when my link to an XML page is clicked, not just open it as a page in the browser. Cheers Martin Hi, I like to know how to make a file download in a new window, like most sites have, I want to add some adsense in that page along with the link to the manual download link if automatic download fails. Thnx Hello, I can't seem to find the syntax which allows users to download a file by clicking on a link. For example, a user would click on a "Download" link which would pop up the download dialog box which prompts the user to save the file to their hard drive. Simply doing an a href link opens up and plays the file instead. Just to note, the file they would be downloading would be an mpg file. Thanks in advance for your help! so basically i just want to put a download link on my website, where you click on it and the download thing pops up, just a file from my server Probably an question that everybody will be able to answer, but Im a total newbie :-) I know that is has something to do with a ftp client hehe will be happy for any help, thx guys and girls anyway :-) Don I'm having trouble providing the best download experience for my users across all browsers. In my opinion, the best experience is to have the user stay on the same page and just have the save dialog box pop up. Here are three ways I've tried: HTML Code: <a href="installer.exe">download installer</a> <a href="installer.exe" target="_blank">download installer</a> <a href="javascript:void(0)" onclick="dynamicallyInsertIframeWithExeAsSource()">download installer</a> All three behave differently in different browsers. Some will open a new browser window that covers the current one. Others flicker that new window briefly before closing it. Some will just whiten out the current page. I just want to know what method will work consistently across all browsers and not have new windows popping up, weird flickering, or whitening. Ok so I am tryin to make a link to where a person can download a file from my website. Not quite sure on how to do this. Any answers? Is there a way to setup a link to download (or offer to download with the open/save box) a jpeg rather than display it in the browser? Hello, I have a simple web page that contains an href link. When a user left clicks the link I would like to download a file. Testing the page local to my pc works fine, but when I uploaded in a Server, didn't worked correctly. Instead of downloading the file, it actually opens the file. What should I change? I am using a vserver in Plesk enviroment if that is of any use. Should I change something to the server? I need to create a link on my company's website. Once the users click the link, it should download an excel file. the file is dynamic and it should change according to the person that logs in.. I am new to html. can you guys provide me ideas to do this... Thanks Ragha Hi, I am building the download centre of http://www.i-conica.net I have a directory structure similar to the image in this thread. http://forum.i-conica.net/cgi-bin/fo...?m-1207092405/ The bottom image, my plan is to have the download page, with continually updated information on the new versions of software, put the software files in a separate folder and link to the folder, i thought if there were only one file in there ending .exe it would download it? It doesn't it just displays the directory. I wanted to be able to just throw the files in their own folder and not have to worry about changing links to the file. because the folder would remain the same. Is this possible? Thanks. what's the HTML code to download a pdf from a link. please help i really need this code for my website.. Hi all, I need to have a link on my web page which allows the user to download a file on the c: drive of my web server. Basically when they click the link they will be prompted to download this file. Any ideas on how this can be done? I tried the following on FF but it does not work... <a href="file:///C:/testUpload/CA_P1470H_2008-1209-143322.xls">major_bob_12-09.xls</a> Thanks in advance for any help. Hi everyone, I was asked to upload a video to our server... and I added this code to the webpage when I click it, a download does not start... it just says page not found Code: <p align="center"><br> <font face="Arial"><b><br> Click the link below to watch the video</b></font></p> <p align="center"><b><font face="Arial"><a href="..IMG_1953.MOV">MDS</a></font></b></p> Hey guys! It's been awhile, but life has been busy and doing new things with web pages hasn't been on the top of my list. However, I've run into a small issue which will hopefully be easy to solve. I've been doing some scripting for a program which exports and imports scripts in an XML setup. I've been posting those scripts on another site, and, for now, have been instructing users to simple right+click save as... the scripts in order to get them, because, when they click on the link, it tries to bring them to a page of the XML. Is there any way for me to tell the links to simply download the XML file (effectively like right+click save as... except it will go to wherever they download stuff) if it is clicked? I have this; You can download a <a href="hpswmtmreg.doc">Word Document</a> file, (click to open, right click to download). <br><br> You can download a <a href="hpswmtmreg.zip">Zip</a> file, (right click to download). I thought it was simple, straight forward, but I get server errors (from my host). Is there something special abpout .doc files or .zips for that matter. Am I doing something wrong? Thanks Hello all, I have created a basic slideshow from dreamweaver's template provided. I want to add one link right next to the 'Next' button that says 'download full size image'. Is this possible to do without manually do it and manually pointing it to the correct file? I would appreciate any help. Thanks, Lorne I'm trying to create a link to a file that is located on my microsoft local server from a web page that is on a UNIX webserver. I'm using Dreamweaver CS5 and IE 8 I've set the link up as file:///M|/folder/folder/file.xlsx Link doesn't work. I've also tried M:\folder\folder\file.xlsx M:/folder/folder/file.xlsx file:///M:\folder\folder\file.xlsx file:///M/folder/folder/file.xlsx file://M/folder/folder/file.xlsx None of these work. What am I doing wrong? Hi I would like to link dynastycars.com with my website, but i want to make it a no follow link. How do i do this? What is the code to add to the link to make it a nofollow link for google. Thanks for help! |