LOOK HERE! It's very important that you add ".png" after the name of your image at *download=""* . So that windows can directly recognize it as a PNG file (Image file with transparency). Otherwize the "Open with..." window wil pop up. Same applies with the music. Just add ".mp3" after the name at *download=""* .
I'm using html 5 and I have my files in a sub-directory. When I hit the browse, it gives me the correct address yet, I'm getting a "no file found" message. Can you clarify? I want my fans and future hires to be able to download my high resolutions jpgs. Thanks!!!
Hi could you please tell me how to download mp4 file , I tried same way its opening in new browser , I need to download locally ,Do you have any solution for this kind?
hey man I use wix to create my website ,I also want to add download button through HTML can u plz help me??? As u used logo.png ,I just want to where the file is located logo.png in your computer means I want to know whether it is your computer or stored online somewhere???
I have a question. I do link a certain pdf file in Google Drive. So, how to ensure that when I press the download button, it will automatically download the pdf without pop-up the file in Google Drive?
yes it do not work in case of internet explorer.. i was searching for some plugins like file-saver.js but i couldn't able to download for image. My code is: - let base_image = new Image(); base_image.src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=='; return ( FileSaver.saveAs(base_image.src, "image.png")}>DOWNLOAD Plz help
Okay I’m creating a website to sell books and will either be PDF or EBook. Will the same function work if I replace .png or .mp3 with PDF and EBook? Thanks awesome tutorial I enjoyed it!
Hey can you just answer why my file when start to download says that the file was not found and the download failed. Can you list some reasons this can happen??
i've tried 4 diffrent videos for it , all show the same , did the same exact thing and still cant get the download link in browser .. either browser don't support it or the attr simply doesnt work :x
Hi, Actually download attribute is not supported in any of internet explorer versions. Please refer this link to see the support for this attribute. caniuse.com/#feat=download
You might wanna check this stackoverflow discussion. stackoverflow.com/questions/18652750/any-fallback-client-side-solutions-for-the-html5-download-attribute Also you can try download.js, which is supported IE-9 and above. danml.com/download.html
Hey, I have used the download attribute in the anchor tag, but still after clicking the link it does not downloads it, rather it open the file in the tab. I am using chrome. What can I do to fix it? Please help me.
sorry bro, this is not downloading, downloading is a server uploads a file, the client receives it, so if you were downloading C:/users/example/downloads should have a file called logo.png or something
LOOK HERE! It's very important that you add ".png" after the name of your image at *download=""* . So that windows can directly recognize it as a PNG file (Image file with transparency). Otherwize the "Open with..." window wil pop up.
Same applies with the music. Just add ".mp3" after the name at *download=""* .
you could make it in pure html, it is called the tag
Bro awesome . It's great . Love from 2021
I used (download) at the end of tag but it still takes me to the music page not downloading the mp3 file
Same
me too
Try using Firefox (if you are using Google Chrome)
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Its not working on my laptop Every time I click on the link it starts playing song but doesn't download!
Me too bro
For me it worked with .exe files
Try the following ways:-
Your title
You should use Microsoft edge
THANK YOU SO MUCH!!! SO SO HELPFUL!!! LIFE SAVER
Thanks a lot! This helped me a lot! You got a new subscriber!
I'm using html 5 and I have my files in a sub-directory. When I hit the browse, it gives me the correct address yet, I'm getting a "no file found" message. Can you clarify? I want my fans and future hires to be able to download my high resolutions jpgs. Thanks!!!
I got it. Realized it was case sensitive and I had some JPG and some jpg. Thanks! It works like a charm!!!
thank u a lot! i finally found what i really wanted to do
Awesome. I just couldn't get it to download on Chrome, Firefox and Edge
hi there im also redirected but to the play page rather than downloading. Any help?
Thankyou for sharing this information .
Hi could you please tell me how to download mp4 file , I tried same way its opening in new browser , I need to download locally ,Do you have any solution for this kind?
I want to set one dll file in download buton,how to do that?
hey man I use wix to create my website ,I also want to add download button through HTML can u plz help me???
As u used logo.png ,I just want to where the file is located logo.png in your computer means I want to know whether it is your computer or stored online somewhere???
I have a question. I do link a certain pdf file in Google Drive. So, how to ensure that when I press the download button, it will automatically download the pdf without pop-up the file in Google Drive?
Mine its playing the music not downloading why ?
Really Helpful For Me..
But how to Implement this in wordpress or blogger to let our users download Images From our website..
does it works even if my files are on google drive and i will paste the link to download?
How can we use it to download the same whole html page while browsing it
Thanks for help👍👍
I think you should start using vscode
or visual studio
those are the best ides
Thanks! Your suggestions are highly appreciated. I am already using Vscode nowadays. It's fantastic ☺️.
Thank you this helped me
Glad it helped😊
So if i upload the .ZIP file next to the .HTML file in a server that's named .htdocs, will it work?
Most probably it should! I haven't tried doing that though. 🙂
Thank you so much for this tutorial
Thank you, me haz salvado, había visto otro vídeos y hacían muchas cosas, solo para descargar el archivo.
Dude your videos are so to the point it’s awesome !
i need help my files doesnt apear in my web the file name is keymaker.exe
@Axel Steiner nah nvm got the solution
create button like "press and it downloads 4 files" is possible ?
Nice sharing. but its not working on firefox and internet explorer and old browsers. please help
yes it do not work in case of internet explorer..
i was searching for some plugins like file-saver.js but i couldn't able to download for image.
My code is: -
let base_image = new Image();
base_image.src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==';
return (
FileSaver.saveAs(base_image.src, "image.png")}>DOWNLOAD
Plz help
Wow, thanks bro, helps a lot!
very interesting thank you
does it work on zip files?
because i want to make a downloadable zip file
Does this work for document files
Very Helpful.
THANK You
i have very simple question is this code also able to be use for android type devices..meaning they could download content from a website?
i think yes
Nice Thnx Bro
Any time
hi bro ,it does download in chrome please ...how can solve that ...it only worked for me in Firefox...but i would like it download in chrome too
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Thank u so much bro
Fantastic bro Nice information 👌✌️
thank .. i did it ..successfully
Is there a way to make it only to download one time?
bahi css3 software download krna hai
Okay I’m creating a website to sell books and will either be PDF or EBook.
Will the same function work if I replace .png or .mp3 with PDF and EBook?
Thanks awesome tutorial I enjoyed it!
how am i able to code to be able to download audio files ?
nice video
Thanks 🙂
this will work if i host my website????????
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
yes
Can you make a software with Dll files
can you use it to download a folder with files inside?
yes, but zipo recommended cuz it downloads faster
when am pressing the button its open a page but its the code from my file (Noob OS.vbs)
its FAKE
my file said its not found
hi in explorer ???
Sir, i am making a blog & i have the source file for movies in my desktop, now i want it to b downloadable by other.. So how to proceed?
I think you need to upload your files on Google drive then add the link to download. I hope you got help from this.
Hey can you just answer why my file when start to download says that the file was not found and the download failed. Can you list some reasons this can happen??
Did u put the file in the folder of the page?
@@angellyclouds4520 Yup, but now it works
I did some things and now it does work
I can't make it work in google chrome
Seba Contreras yeah me too...it just navigates to the image and music
@@srivignesh3826 I have a feeling they removed this
It's still working for me. Make sure the file you are trying to download is actually saved on your computer.
Nice Video, but when I try it on my website it just keeps saying network error, do you have any advice. Thanks
this helped a lot
i cant make this work on chrome,any suggestions please
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
thank you so much dear, your tutorial is great
I really appreciate you liked the video. Thank you. 🙂
I am sure that you will upload this types video thank you
Hi Subodh, Thank you for watching the video. I have been really busy and I am pretty sure I will start uploading more and more videos soon.
thanks a million
Well it kind of works. But when I click the button, it downloads as "Failed - No file", even tho the file is in there
me 2
It is not working it only displays an image. Please advise. Thanks
why is it saying file not found for me because my image is still in the computer
Sorry for late response... connect with me on twitter/fb for the help if you're still having issues with it. 😊
What about apk file,how to do that
i would suggest Zip it and allow the user to download the zip file
@@lohithkumar6922 thank u
Soo helpful
what about folder
Awesome.! Great. Thanks a lot.!
Hi, it's a great pleasure! :) Thanks for watching this video.
Thanks a lot but how can i apply it for PDF
I am not getting to download in any browser .what was the problem behind .pls tell me the solution for that
i've tried 4 diffrent videos for it , all show the same , did the same exact thing and still cant get the download link in browser .. either browser don't support it or the attr simply doesnt work :x
amazing bro
Thanks! Please consider subscribing to the channel for getting more contents. 😊
This still doesn't work in my case. Any suggestions? Code exactly the same.
Which browser you are using?
@@smashtheshell Sorry my bad. It did not work locally but when I uploaded it on server it started to work.
Sorry....
Please help😪😪😪😭😭
I am trying this on python file but it's not working.
Thanks bro appreaciate it
It says file couldnt be accessed plz help
thanks its work with me
Thanks good info
Hi, I am glad you found it useful! :)
hello ..
image do not download in case of Internet Explorer.
Hi, Actually download attribute is not supported in any of internet explorer versions. Please refer this link to see the support for this attribute. caniuse.com/#feat=download
ok..
so, do you have any other way to download image in 'internet explorer'.
i need it ..
(any other plugins or like that)
You might wanna check this stackoverflow discussion. stackoverflow.com/questions/18652750/any-fallback-client-side-solutions-for-the-html5-download-attribute
Also you can try download.js, which is supported IE-9 and above. danml.com/download.html
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Hey,
I have used the download attribute in the anchor tag, but still after clicking the link it does not downloads it, rather it open the file in the tab.
I am using chrome.
What can I do to fix it?
Please help me.
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Can u give the code? With css
At 2:52 Is where he shows you how to make it downloadable. Get right to the point next time.
says no file found to me its a mp3 i checked
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
thanks boy
but whe you will upload yourwebsite it will not work
need a timer to be add
can't download image
thank you so math
can not make it chrome why?
Bro for me its not woeking.
Thanks you brother
This will not work if the origin is not the same. (same origin policy)
Why doesn't it work on Chrome?
Hey ! Bro This codding not working...
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Thank you!
Your welcome Shaun! I'll really appreciate if you can leave any feedback or suggestion you might have for the channel.
Thanks!
Amit
He just show the document... Please i need help !
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Thanksyou
You’re welcome 😊
sorry bro, this is not downloading, downloading is a server uploads a file, the client receives it, so if you were downloading C:/users/example/downloads should have a file called logo.png or something
THANK YOU!!!!
audio start playing but not downloading
i can't it is just play the video not downloading can you proof it with without local url like " -------------------------------" please.