W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2015

Directory Upload

From: Ali Alabbas <alia@microsoft.com>
Date: Thu, 3 Sep 2015 19:01:54 +0000
To: Web Applications Working Group WG <public-webapps@w3.org>, "public-wicg@w3.org" <public-wicg@w3.org>
Message-ID: <BY2PR03MB572B4C0AE66BF6115D243A3C4680@BY2PR03MB572.namprd03.prod.outlook.com>
Hello WebApps WG and Incubator CG members,

As you may know, we (Microsoft) have been collaborating with Mozilla on evolving the new directory upload proposal [1]. It has recently been added to the Incubator Community Group and we are looking forward to have everyone get involved with providing feedback on this initial proposal. If you haven't already made a first-pass read of the spec, I invite you to take some time to do that as it is a relatively short document that we are trying to get some more eyes on.

As we wait for the spec to stabilize, and to solve the existing interop gap with Chrome with regards to directory uploads, we are implementing the webkitRelativePath property for the File interface and webkitdirectory attribute for the input tag [2]. This allows sites to show a directory picker and to identify the relative file structure of the directory a user selects.

Supporting webkit-prefixed properties is not an endorsement of the old way of doing it - it is an interop realization. For this reason, we will consider the webkit-prefixed API as deprecated in Microsoft Edge (as we do with other webkit-prefixed APIs we support for compatibility). The old API is synchronous and doesn't provide a natural way of traversing directories. That is why we are working closely with Mozilla and encouraging everyone in the community to look into the directory upload proposal and to provide feedback.

Thank you,
Ali 

[1] https://wicg.github.io/directory-upload/proposal.html
[2] https://dev.modern.ie/platform/status/webkitdirectoryandwebkitrelativepath
[3] https://dev.modern.ie/platform/status/directoryupload/
Received on Thursday, 3 September 2015 19:02:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 13:56:13 UTC