1

I want to download an image from amazon s3 bucket which i have saved earlier in the same.

I am using jquery to download the image but instead of downloading it open the image.

this is my sample amazon s3 bucket url

https://s3-ap-southeast-1.amazonaws.com/dev-chn/pm/20150822142439-Penguins.jpg

This is my jquery code

$.fileDownload($(this).prop('href'), {
 preparingMessageHtml: "We are preparing your download, please wait...",
 failMessageHtml: "There was a problem downloading, please try again later."
});

am using jquery ui download plugin

could anyone help me?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
chandru_cp
  • 184
  • 1
  • 13

0 Answers0