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

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

From: Arun Ranganathan <arun@mozilla.com>
Date: Fri, 14 May 2010 16:59:51 -0700
Message-ID: <4BEDE3F7.9080202@mozilla.com>
To: ash@ashleysheridan.co.uk
CC: Biju <bijumaillist@gmail.com>, whatwg@lists.whatwg.org, "public-webapps@w3.org >> WebApps WG" <public-webapps@w3.org>
On 5/12/10 4:25 AM, Ashley Sheridan wrote:
> On Wed, 2010-05-12 at 00:05 -0400, Biju wrote:
>> It would be good if we can also get the same at server side when user
>> upload a file using form with file controls
>> ie, like the suggestion at https://bugzilla.mozilla.org/show_bug.cgi?id=549253
>> (it works even with javascript disabled)
>> Also remember modificationDate can be a time before creationDate on windows.
>> This is because modificationDate get copied when you copy a file,
>> hence it almost shows modificationDate of the actual content.
>> creationDate on other hand is file creation time on the
>> folder/directory and when you copy a file to a new directory, it will
>> be showing the coping time.
>> PS, for JS option there is mozilla bug 390776
> You can get the same on the server side. how you get it just varies from
> language to language though, and obviously the exact file information
> available is dependant on the file system in use, i.e. fat32, ntfs,
> ext3, reiserfs, etc.
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk

I intend to update the FileAPI draft so that creationDate and 
modificationDate are exposed on File, alongside name.

-- A*
Received on Saturday, 15 May 2010 00:07:04 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:25 UTC