Thanks for your ideas, wakewatcher! I will definitely both of those out.
In the meantime, I also had another idea that I'm really excited about. I remember when I was an undergrad, one of my who knew more about computers showed me something that really stuck with me (I studied math with a minor in CS, while he majored in CS and was older). He showed me how to telnet to various TCP ports, and how easy it was to replicate various protocols. This was before HTTP was big, but it looks like it would be quite easy to do the same thing with HTTP, as demonstrated in the following screen shot:
http://upload.wikimedia.org/wikipedia/c ... ubuntu.png
You just telnet to the host and issue the appropriate
HTTP commands. Then it send the document right back at you through the TCP channel.
Based on the following Amazon API document:
http://docs.amazonwebservices.com/Amazo ... STAPI.html
It looks like S3's "REST interface" basically means doing this, following what looks like a fairly simple protocol. For example, here are the references for the Put and Get commands:
http://docs.amazonwebservices.com/Amazo ... ctPUT.html
http://docs.amazonwebservices.com/Amazo ... ctGET.html
Could I go through the code for
httpQuery to figure out which libaries I need to form and use this sort of TCPIP connection and just make the requests myself? Or am I missing something important? Since all that I need to store and retreive are short strings (most about 10 BYTES) long, this approach would be extremely attractive to me, especially if I could avoid writing temporary files.
If this worked, I could wrap it up in a nice library, which I bet others might find very useful as well. I can't be the only person who wants variable synchronized between instances of AHK scripts possibly running on different computers.... With Amazon's pricing being so cheap as to practically be free (I'd pay them about 46 cents per month, I estimate) this really seems like a terrific solution to a dilemna I've been frustrated with for months.
.... that is, IF it works...
Does it seem feasible to you folks?