W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] New File attributes creationDate, modificationDate and size

From: Perry Smith <pedzsan@gmail.com>
Date: Tue, 11 May 2010 12:51:04 -0500
Message-ID: <957380B3-3A1C-4B81-8047-805E9CAECB3C@gmail.com>

On May 11, 2010, at 3:43 AM, J Ross Nicoll wrote:

> Looking at http://www.w3.org/TR/2009/WD-FileAPI-20091117/#dfn-file
> There doesn't appear to be anyway of retrieving creation date, modification date or size of the file. 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.

I was just going to ask the same question.  My use case is for a progress bar.  As I parse a file, it would be nice to have a progress bar based upon the file size and how much has been parsed.
Received on Tuesday, 11 May 2010 10:51:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC