Search code examples
amazon-s3downloadruby-on-rails-2

Need to download a file from amazon s3 to local folder?


I am using rails 2.3.11 and i want to download a file from amazon s3 into my local folder.How can i achieve that?please help me


Solution

  • AFAIK amazon s3 objects (files) have unique URLs. Once you have the s3 object URL you can use standard ruby code to download it and save to a local folder as illustrated here.