简体   繁体   中英

Download attribute doesn't working on chrome or edge

i'm try to use the download attribute. but it doesn't work. i try to use also target and try to understadnd if there is some issue trying to download from the server or from the web (https). nothings work.

can you please check and let me know what wrong here? chrome version 86.0.4240.198

 <a href="using_new_elements_dd.txt" download ="ee"> Click here to download </a> <br> <a href = "../kindergarten-screening_module2_1.webp" target = "_self" download> download with target</a> <br> <a href = "https://d25tv1xepz39hi.cloudfront.net/2016-08-01/files/picture-style_1311.jpg" target = "_self" download> download with target from https</a>

Probably specifying content-disposition & content-type in metadata from s3 console should work.

Refer:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM