W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2010

Re: New draft of FileWriter API posted

From: Ilkka Oksanen <Ilkka.Oksanen@nokia.com>
Date: Wed, 17 Mar 2010 16:26:12 +0200
Message-ID: <4BA0E684.4020305@nokia.com>
To: ext Eric Uhrhane <ericu@google.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Eric,

Looks like if some script just has write access to a file it can't 
reliably seek to the end of that file in append use case. Seek(-1) gets 
close but chops one byte off. One work-a-round is to use seek(very large 
number), but should there also be a more elegant way?

      -ilkka


On 06.03.10 04:01, ext Eric Uhrhane wrote:
> I've just posted a new draft of the File Writer API [1], based on the
> version I posted in January [2].  I look forward to your feedback.  In
> the mean time, I'll get going on a clean draft of the FileSystem API.
>
> Thanks,
>
>        Eric Uhrhane
>        ericu@google.com
>
> [1] http://dev.w3.org/2009/dap/file-system/file-writer.html
> [2] http://lists.w3.org/Archives/Public/public-device-apis/2010Jan/0228.html
>
>    
Received on Wednesday, 17 March 2010 14:27:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:07 GMT