Search code examples
javascriptamazon-web-servicesamazon-s3meteordownload

Meteor S3 Download


I have managed to do upload using edgee:slingshot but currently lost on how to do download. I want the user to be able to download the attachment. I tried using:

<a download href="s3url.com"></a>

but it only works on pdf and images which are viewable in the browser but I have an authentication error on download doc files and others files that are not viewable in the browser. Can someone please help. Thanks!


Solution

  • Ok so it was a stupid mistake, the file name had spaces so the link is broken. Lol