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

Directory Upload Proposal

From: Ali Alabbas <alia@microsoft.com>
Date: Thu, 23 Apr 2015 19:28:09 +0000
To: Web Applications Working Group WG <public-webapps@w3.org>
Message-ID: <BY2PR03MB5728CBD5E5E6AADAA3ED2B4C4ED0@BY2PR03MB572.namprd03.prod.outlook.com>
Hello WebApps Group,

For the past few years sites have been enabling directory uploads by using the old FileSystem API [1] in Chrome and Opera. In the April 2014 face to face WebApps group meeting [2], there was a CfC to move the old specs into a WG Note and to continue working on the new FileSystem API [3] instead, effectively discontinuing work on the old FileSystem API.

The new FileSystem API tries to satisfy a large number of use cases with an approach that is better than the old API. However, its broad scope and its dependencies on future capabilities (e.g. Observables) has slowed down the pace at which it is moving forward. Due to this, there is currently no interoperable way to enable directory uploads on the web. We have received lots of feedback from developers - including some working on Microsoft services such as OneDrive - that supporting directory upload is a high priority for them. 

To enable developers to build future interoperable solutions, we've drafted a proposal [4], with the helpful feedback of Mozilla and Google, that focuses strictly on providing the mechanisms necessary to enable directory uploads. The proposal uses a subset of the new FileSystem API so that it can be expanded in the future to enable more scenarios when the new FileSystem API is further along. To help understand the proposal (especially the APIs involved) I have written a polyfill [5] and demo page [6] that is built on top of Chrome's old FileSystem API.

If there is sufficient interest, I would like to work on this within the scope of the WebApps working group.

Thank you,
Ali

[1] Old FileSystem API: http://www.w3.org/TR/file-system-api/
[2] WebApps April '14 Meeting: http://www.w3.org/2014/04/10-webapps-minutes.html#item02
[3] New FileSystem API: http://w3c.github.io/filesystem-api/
[4] Proposal: http://internetexplorer.github.io/directory-upload/proposal.html
[5] Polyfill: https://github.com/InternetExplorer/directory-upload/blob/gh-pages/polyfill.js
[6] Demo: http://internetexplorer.github.io/directory-upload/index.html
Received on Thursday, 23 April 2015 19:28:37 UTC

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