I need to include into my SPA application (JavaScript, AngularJS, Bootstrap) the ability to retrieve data from the server and save the data locally in CSV format.
I have the mechanism working perfectly to get the data from the server (JSON) and converting it to CSV while replacing some numerical codes to verbal values.
The only think left is to write the data AS-IS into a file (locally within the client computer).
After quite some research, I got totally confused. Some posts state that this is not possible (intentionally blocked by browsers as a security measure), others state that it can be done with Chrome, other state it is possible.
Could anyone tell me if there is a way to do it that would work with all browsers?
I should add that saving the data into a file within the Downloads folder is also a suitable option.
Thanks in advance.