Amazon S3 Download file

Hi,

I need to download a file from an Amazon S3.

I have briefly looked at the documentation for authentication and noticed that I’m obviously needs more education :slight_smile:

Anyway: I would need a kick in the right direction: Are there any classes out there I can use?

All suggestions are welcome!

Dan…

I have done it… but the code is in no shape to just give you… give me a few weeks to get some other stuff done and I might be able to do that.

In the meantime if you want to give it a try: AWS uses oAuth… so look for examples… I use the MBS SHA1MBS & CURLSMBS but you can probably do it with pure Xojo code… MBS has an oAuth example using Twitter that is a good place to start.

You will also need to set up a User using AWS IAM service and obtain an Access Key ID and Secret Key for that User.

Hope this helps.

Looks like I have all the pieces in the puzzle.

Maybe I can make som progress thanks to your clues!

Thanks!

[quote=250700:@Dan Berghult]Looks like I have all the pieces in the puzzle.

Maybe I can make som progress thanks to your clues!

Thanks![/quote]
Hi Dan, just wondering how you got on in the end?

[quote=250604:@Dan Berghult]Hi,

I need to download a file from an Amazon S3.

I have briefly looked at the documentation for authentication and noticed that I’m obviously needs more education :slight_smile:

Anyway: I would need a kick in the right direction: Are there any classes out there I can use?

All suggestions are welcome![/quote]

Look at the download example in Web.

Xojo 2016 Release 4.1/Example Projects/Web/Downloading/Downloading.xojo_binary_project

Hi Gavin,

I ended up using a plugin: Chilkat

https://www.chilkatsoft.com
https://www.example-code.com/xojo/amazonS3.asp

[quote=307998:@Dan Berghult]Hi Gavin,

I ended up using a plugin: Chilkat

https://www.chilkatsoft.com
https://www.example-code.com/xojo/amazonS3.asp[/quote]
Interesting, might save me a few days, thanks Dan.

I should mention that the plugin works fine. The plugin adds a about 13MB to the filesize of your application.