A
A
Alexander Evgenievich2015-05-25 18:21:20
symfony
Alexander Evgenievich, 2015-05-25 18:21:20

How to send a file for download by AJAX request using AngularJS?

Hello.
Please tell me how best to upload a file from the server through an indirect link. The project uses AngularJS and Symfony 2 respectively.
Regarding the file upload itself, I found a post on habré - habrahabr.ru/post/151795 , but maybe there is a ready-made solution for Symfony 2?
Also very interested in the question of the future fate of the file, ie. after an AJAX request to the server via a link, a response comes and what to do with it and will it be immediately read by the browser as a file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2015-05-25
@banderos120

stackoverflow.com/questions/15994554/download-file...
webapps.stackexchange.com/questions/41068/how-exac...

A
Alexander Tartmin, 2015-05-25
@baskerville42

stackoverflow.com/questions/24080018/download-file...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question