Livcode and AWS S3 (Windows)

J. Landman Gay jacque at hyperactivesw.com
Sat May 21 15:03:03 EDT 2016


BTW, I misspoke when I said the Rails script returns the files. It just 
creates the list of URLs and then LC is able to download them directly.

On 5/21/2016 1:59 PM, J. Landman Gay wrote:
> 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!
>>
>> SKIP
>>
>>> 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:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________ use-livecode mailing
>> list use-livecode at lists.runrev.com Please visit this url to
>> subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list