I am working on angularjs javascript project, in this I need to download the file.
I have my files uploaded to server and I have the path to access them, now I need to download them as we see in downloading file in browser, to achieve this I need to create blob object with physical file path.
Like my path is http://localhost:8080/app/ns.jpg
, so I can give app/ns.jpg and I want its blob object.
File type can be any type. How can I create blob to download the file from a known path?