|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Orchid XP v8 wrote:
> Oh, I haven't read through all the low-level documentation, only the
> summary pages.
I would have thought it's in there, but...
> ...for somebody who doesn't yet understand what SOAP or REST are?
REST is "use HTTP to get and put data".
> You can see where this is going, can't you? Yes, I admit it: It's way,
> way too slow to be remotely useful. Files that md5sum.exe can process in
> a split second take several minutes. I haven't figured out why yet.
I think you only *need* to sum some headers, but maybe it's the whole file.
I'm not sure I remember.
--
Darren New, San Diego CA, USA (PST)
Human nature dictates that toothpaste tubes spend
much longer being almost empty than almost full.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> Oh, I haven't read through all the low-level documentation, only the
>> summary pages.
>
> I would have thought it's in there, but...
So, if I stick a bunch of HTML pages on S3, I can basically host a website?
>> ...for somebody who doesn't yet understand what SOAP or REST are?
>
> REST is "use HTTP to get and put data".
So, you upload stuff by making HTTP PUT requests? (As originally
invisaged by Tim Burton?)
>> You can see where this is going, can't you? Yes, I admit it: It's way,
>> way too slow to be remotely useful. Files that md5sum.exe can process
>> in a split second take several minutes. I haven't figured out why yet.
>
> I think you only *need* to sum some headers, but maybe it's the whole
> file. I'm not sure I remember.
OK, well I'll go dig through the specs.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Orchid XP v8 wrote:
> So, if I stick a bunch of HTML pages on S3, I can basically host a website?
Yes. The only thing that doesn't work is
http://blahlbhalbha.com/
You'd actually have to go to http://blahblahb.com/index.html
> So, you upload stuff by making HTTP PUT requests? (As originally
> invisaged by Tim Burton?)
Yes. And delete stuff with HTTP DELETE.
--
Darren New, San Diego CA, USA (PST)
Human nature dictates that toothpaste tubes spend
much longer being almost empty than almost full.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 18 Dec 2009 13:53:56 -0800, Darren New wrote:
> Yes. And delete stuff with HTTP DELETE.
HTTP DELETE -R /
Whoops...
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jim Henderson wrote:
> HTTP DELETE -R /
>
> Whoops...
I think WebDAV's "Depth" header would actually let you shoot yourself on the
foot just like that.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 19 Dec 2009 02:55:19 -0300, Nicolas Alvarez wrote:
> Jim Henderson wrote:
>> HTTP DELETE -R /
>>
>> Whoops...
>
> I think WebDAV's "Depth" header would actually let you shoot yourself on
> the foot just like that.
Doesn't surprise me. :-)
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> ...for somebody who doesn't yet understand what SOAP or REST are?
>
> REST is "use HTTP to get and put data".
>
>> You can see where this is going, can't you? Yes, I admit it: It's way,
>> way too slow to be remotely useful. Files that md5sum.exe can process
>> in a split second take several minutes. I haven't figured out why yet.
>
> I think you only *need* to sum some headers, but maybe it's the whole
> file. I'm not sure I remember.
Can you do this stuff using mget or some similar CLI tool?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Invisible wrote:
> Can you do this stuff using mget or some similar CLI tool?
Obviously I actually meant wget. And it appears wget only supports
downloading, not uploading.
However, apparently libcurl also has a CLI tool simply named curl, and
this apparently supports making HTTP PUT requests...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Invisible wrote:
> However, apparently libcurl also has a CLI tool simply named curl, and
> this apparently supports making HTTP PUT requests...
"The Amazon S3 REST API uses a custom HTTP scheme based on a keyed-HMAC
(Hash Message Authentication Code) for authentication."
Oh bugger.
So a custom authentication scheme that curl doesn't support then? :-P
"To authenticate a request, you first concatenate selected elements of
the request to form a string. You then use your AWS Secret Access Key to
calculate the HMAC of that string."
Hmm, great...
Oh, and it appears to use SHA-1 rather than MD5. I wonder if anybody has
binary implementations of SHA-1 that work on Windoze? *sigh*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 21 Dec 2009 10:52:13 +0000, Invisible wrote:
> Oh, and it appears to use SHA-1 rather than MD5. I wonder if anybody has
> binary implementations of SHA-1 that work on Windoze? *sigh*
http://tinyurl.com/y9qwz2z
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |