fileapi-sample icon indicating copy to clipboard operation
fileapi-sample copied to clipboard

File API demo / sample code

HTML5 File / FileSystem API Samples (Runs only on Chrome)

  • simple: Random samples of File and FileSystem API
  • editor: Simple offline image editor using File API + Canvas
  • picker: Folder picker demo with drag-and-drop powered by FileSystem API

Resources:

http://dev.w3.org/2006/webapi/FileAPI/

  • File API (Latest draft)

http://www.w3.org/TR/file-system-api/

  • FileSystem API (Latest draft)

http://dev.w3.org/2009/dap/file-system/file-writer.html

  • FileWriter API (Latest draft)

http://wiki.whatwg.org/wiki/DragAndDropEntries

  • Drag-and-drop using FileEntry and DirectoryEntry (Proposing draft)

LICENSE:

Copyright 2011, 2012 Kinuko Yasuda [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.