Livcode and AWS S3 (Windows)
J. Landman Gay
jacque at hyperactivesw.com
Sat May 21 20:59:58 CEST 2016
I'm not sure I can help much with that. In my project, the AWS server
has a cron job that creates signed URLs for each file every hour
(because our URLs have an expiration time) and puts them into a text
file. My app retrieves that file, which is just a return-delimited list
of URLs, and when it needs to download one it just uses "get URL
<signedURL>" and it works.
All uploads are done by the administrator via the web interface. LC
isn't involved with that.
If I remember right, signed URLs aren't strictly required; we're using
them for security purposes but I believe you can just treat the
server/buckets like any other web server. I'm afraid I don't know how to
get a list of files; a Rails script collects those for our project.
There's an awful lot of documentation on Amazon, though it's confusing.
It took our Rails person some time to understand it all, and I took the
lazy way out and just let her do it, since most of it applied to the
server end of things. Then we worked together to figure out how to sign
the URLs in both languages.
On 5/21/2016 7:18 AM, Skip Kimpel wrote:
> I am looking to be able to view a file listing of a "bucked" and to
> be able to download that files. Would love to be able to upload to
> that bucket as well but that would be second prize at this point.
> Thanks for any input you can provide!
>> On May 21, 2016, at 1:59 AM, J. Landman Gay
>> <jacque at hyperactivesw.com> wrote:
>>> On 5/20/2016 4:17 PM, Skip Kimpel wrote: Anybody have experience
>>> with S3 buckets and Livecode? The LibS3.rev that exists out
>>> there seems to be dated and has issues connecting.
>>> AND it has to run within an Windows standalone.
>>> Any help would be GREATLY appreciated!
>> I've done some things with it. What do you need to do? I wrote a
>> handler to create the required signed URL, which gets sent to a
>> Rails script on AWS. The handler requires the libHash-HMAC library
>> which is freely available.
>> It wasn't easy and it took a week but it's been working for a
>> couple of years now. I don't know much about the server side
>> though, someone else handles that part.
>> -- Jacqueline Landman Gay | jacque at hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> _______________________________________________ use-livecode
>> mailing list use-livecode at lists.runrev.com Please visit this url to
>> subscribe, unsubscribe and manage your subscription preferences:
> _______________________________________________ use-livecode mailing
> list use-livecode at lists.runrev.com Please visit this url to
> subscribe, unsubscribe and manage your subscription preferences:
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode