Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a gatsby site deployed to Netlify with IPv6 enabled

For some reason when trying to download a file, it fails.

I have setup the following link

<a href="http://myexternafilelLink" download> Download</a>

The external link being a Cludinary url

http://res.cloudinary.com/clinic-plus/raw/upload/v1609936226/Man_Job_Spec_ClinicPlus_ysaoiz_1_z27rtq.xlsx

When I click this nothing happens, the only thing I see is the tab reload icon runing and then it stops and nothing happens.

I have confirmed the link works.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
905 views
Welcome To Ask or Share your Answers For Others

1 Answer

Just remove your AdBlock (or whitelist the domain). I've tested it in a browser with both configurations and I can confirm that the links work. I also would suggest adding a target="_blank" property.

<a href="http://res.cloudinary.com/clinic-plus/raw/upload/v1609936226/Man_Job_Spec_ClinicPlus_ysaoiz_1_z27rtq.xlsx" target="_blank" download> Download</a>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...