Followup to this...

http://developer.amazonwebservices.com/connect/message.jspa?messageID=119866

Seems the best approach would be to get the time from the Amazon server, thus 
bypassing any local time issues.

-- Carl Read.

PS. And yes, I meant REBOL below, not REBO, and the last sentence should've 
read "I couldn't /find/ one in the 'Viewtop'."... (Well what'ya expect on the 
day daylight saving cuts in!)


On Sunday, 26-September-2010 at 13:10:55 Carl Read wrote,

>Hi yet again Graham...
>
>Today uploading to Amazon S3 stopped working for me on Windows XP! And after a 
>while it dawned on me why - daylight saving started here today. Sigh...
>
>So, if I turn off daylight saving in Windows, (setting Windows' clock back an 
>hour), I can upload. But I can't if I then manually set the clock forward an 
>hour. (And no matter what settings I choose, REBOL's time always matches 
>Windows' time.)
>
>I noticed Windows says it's still only 12 hours ahead when daylight saving is 
>ticked as on (as does REBO), so I'm picking that's the source of the problem. 
>REBOL grabs the time-zone from Windows, when what it needs is 13 hours. Unless 
>there's a setting for the time-zone in REBOL? I couldn't one in the 
>'Viewtop'.
>
>-- Carl Read.
>
>
>On Wednesday, 22-September-2010 at 21:50:42 Graham Chiu wrote,
>
>>Hi Carl
>>
>>Yes, about that url-encode, I just added one now :)
>>
>>The problem with the prot-http is that you do lose the headers returned
>>unless you open the url instead.  Hence my need to modify the success
>>function.
>>
>>The headers should have given the error information from Amazon that you
>>were using the incorrect time.  So, not sure why that didn't work ..
>>
>>On Wed, Sep 22, 2010 at 9:29 PM, Carl Read <[email protected]> wrote:
>>
>>>
>>> Hi Graham,
>>>
>>> Yes - elsewhere! I hadn't set the timezone on Linux, (it's a newish
>>> install), and that was the problem. I noticed the time was four hours out 
>>in
>>> the authorization block, which put me on the right track.
>>>
>>> BTW, I've just remembered the url-encode function wasn't included with 
>your
>>> script - I had to find it elsewhere. It's not in View 2.7.7, but perhaps
>>> it's in other REBOLs?
>>>
>>> Anyway, many thanks for your patience! And the script - useful.
>>>
>>> -- Carl Read.
>
>-- 
>To unsubscribe from the list, just send an email to 
>lists at rebol.com with unsubscribe as the subject.
>
>

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to