Tuesday, April 2, 2013

Forced to HTML that can be downloaded from the link how?

Trouble courtesy of Andrew D: How do you force a link to download in HTML?

When I link in HTML to a file using The browser opens the file and starts playing it in a window… Is there a way that I can FORCE the file to download instead of play in the browser aside from compressing the file to a different format?


It’s really with regards to How do you force a link to download in HTML? you will prefer to resolve troubles themselves. Can easily this will help to in many ways; and will make yourself far better. Desiring with regards to How do you force a link to download in HTML? may very well be the very best down the road.

Optimum solution:


Answer by Farzan Saeed

Right click, save target as !


Answer by GrandUser1000

I think there is not a way to do so. What you can do, however, is put the file you wish to “force download” in a compressed zipped folder. Since the folder is compressed and zipped, the contents will not open in the web browser and the zipped folder is unable to serve as a directory thus forcing it to download. Although it is extra work, it will automatically download when a user clicks on the link.


What you could do is post a little note stating that users should right click and select the Download Linked File/Save Target as option.


Answer by Vik

Well I am not quite clear with your question but hope this helps.

Does the website has a download link for the music? Does the file starts playing in the browser instead of downloading when you click the download link? If you have answered these two questions as YES, then its simple. Simply right click on the download link and choose the option “save link as” or “save target as”.


If the website does not allow you to download the file then use some software like Audacity etc to download any sounds from websites.


Good luck


Answer by Karl

whether or not the file “plays” or “saves” is dependant on the settings of the operating system of the user’s PC. In windows it is in file types in the folder options. it can therefore be changed by HTML.


Instead you may be able to do something else by using CGI or advanced javascript. Like automaticcally enclosing it in a ZIP.


Understand or know greater?

Add your personal answer within a comments!


In the last two episodes of TGIM Eric shared that not only do we matter as individuals but we are also powerful beyond measure. In this episode he challenges…


Forced to HTML that can be downloaded from the link how?

No comments:

Post a Comment

Blog Archive