How to download a file from the back-end?

FileSaver.js seems to be a nice solution, as nice as Download-File.js, but there are twice based on more or less recents features (download attribute or saveAs() method)

At the end, I have to make a large public website, and I prefer to not have to come back on my work because some people used to use old browsers.

The POST solution should work on all browsers without any bad bias. My time is costly, so for now, I prefer this solution because I don’t find any better.

But, to be fully in “Ember spirit”, I keep my question open. I really think, there is a way to do what I wanted in a nicer way, maybe by using Ember transition preventing. Or maybe I’m wrong. For now, I don’t have a good enough skill with Ember. I consider I found something like a trick more than a nice solution.

It could be usefull for people and for Ember to have a real Ember recipe to do this than a kind of “do-it-yourself” for a such common need.

:wink: