W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: [whatwg] New File attributes creationDate, modificationDate and size

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 11 May 2010 21:31:47 +0300
Message-ID: <4BE9A293.8060004@helsinki.fi>
To: J Ross Nicoll <jrn@jrn.me.uk>
CC: whatwg@lists.whatwg.org, "public-webapps@w3.org >> WebApps WG" <public-webapps@w3.org>
On 5/11/10 11:43 AM, J Ross Nicoll wrote:
> Looking at http://www.w3.org/TR/2009/WD-FileAPI-20091117/#dfn-file
Note, discussion about FileAPI should happen in WebApps WG mailing list.


>
> There doesn't appear to be anyway of retrieving creation date,
> modification date or size of the file.
You can get the size from Blob. And File extends Blob.

-Olli


  Could I suggest adding attributes
> creationDate, modificationDate and size to provide this information?
>
> For a use case; we're working an a student coursework submission system,
> where they'll be able to drag and drop files. It would be useful to show
> the student details of the file they're uploading (for example,
> modification date is useful to confirm they're uploading the most recent
> version). We do actually see a fairly large number of mis-uploads with
> the existing upload system, and are hoping exposing more information
> during the upload (rather than once the file is received) will help.
>
Received on Tuesday, 11 May 2010 18:32:31 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT