King_Karlssen Posted February 11, 2006 Share Posted February 11, 2006 I asked about this a while ago, I need help figuring out how to make a download, I was told this <a href="filename.extension", target="_blank">Download here</a> But unfortunately that just loaded a new page and played the file! I need help to make it so the file is downloaded onto their computer, And its actually a colllection of files in one folder, I need all the files, (all .mp3 files)To be downloaded with one hyperlink, how do i do this? Link to comment Share on other sites More sharing options...
OTTO Posted February 11, 2006 Share Posted February 11, 2006 just do this <a href="location of file">Download</a> Link to comment Share on other sites More sharing options...
Skemcin Posted February 11, 2006 Share Posted February 11, 2006 most places will have a page that say, "you down load will start in a few seconds, click this link if you have any problems"and what they do on that page is code a meta refresh = 5; http://www.yourdomain.com/filename.extthen place a reference to that same file in the body where I quoted "click this link".The meta refresh will not open a new window and just go directly to the save file prompt as long as there is no mime setting that the browser will interpret as something it will load.P.S. Put all the mp3 files into a zip file and point to that using the method I describe above. I'd suggest including a readme.txt file int he zip file informing folks about any copyright or redistribution restricts that are attached to the mp3 files. Link to comment Share on other sites More sharing options...
King_Karlssen Posted February 12, 2006 Author Share Posted February 12, 2006 I'm still confused man, I need code. I dont know how to do half the stuff you said. Internet Explorer is my Browser, and if I put the files into a zip won't they be downloaded as a zip? And did you say something like I need to prompt it to save the file? Like javascript prompt? Link to comment Share on other sites More sharing options...
OTTO Posted February 12, 2006 Share Posted February 12, 2006 Yes it will save as a zip but a zip file will be more compressed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now