File API
E856213
The File API is a web standard that enables web applications to access and manipulate files selected by users or provided by the operating system in a secure, browser-based environment.
Observed surface forms (1)
| Surface form | Occurrences |
|---|---|
| File Handling API | 1 |
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
Browser technology
ⓘ
Web API specification ⓘ |
| allows |
Reading files as ArrayBuffer
ⓘ
Reading files as binary strings ⓘ Reading files as data URLs ⓘ Reading files as text ⓘ |
| designedFor |
Sandboxed file handling
ⓘ
Secure browser-based file access ⓘ User-mediated file selection ⓘ |
| domain | Client-side web development ⓘ |
| enables |
Access to user-selected files
ⓘ
Asynchronous file reading ⓘ Binary data handling in JavaScript ⓘ Client-side file processing ⓘ Drag-and-drop file uploads ⓘ Local file previews in web pages ⓘ Manipulation of file metadata in the browser ⓘ Partial file reads via Blob slicing ⓘ Reading file contents in the browser ⓘ Reading files without uploading to a server ⓘ |
| exposesInterface |
Blob
ⓘ
File ⓘ FileError ⓘ FileList NERFINISHED ⓘ FileReader NERFINISHED ⓘ ProgressEvent for file reads ⓘ |
| implementedIn | JavaScript NERFINISHED ⓘ |
| partOf | Open Web Platform NERFINISHED ⓘ |
| protects | User file system privacy ⓘ |
| relatedTo |
File System Access API
NERFINISHED
ⓘ
File and Directory Entries API NERFINISHED ⓘ HTML5 NERFINISHED ⓘ XMLHttpRequest Level 2 NERFINISHED ⓘ |
| requires | Explicit user interaction for file selection ⓘ |
| securityModel |
Access limited to user-selected files
ⓘ
No direct arbitrary file system access ⓘ |
| specifiedIn | W3C File API specification NERFINISHED ⓘ |
| standardizedBy |
W3C
NERFINISHED
ⓘ
World Wide Web Consortium NERFINISHED ⓘ |
| status | W3C Recommendation NERFINISHED ⓘ |
| supports |
Error handling for file operations
ⓘ
Progress events during file read ⓘ Slicing blobs into smaller parts ⓘ |
| usedFor |
Client-side image preview
ⓘ
Client-side validation of file size ⓘ Client-side validation of file type ⓘ Offline or low-bandwidth file processing ⓘ |
| usedIn |
Web applications
ⓘ
Web browsers NERFINISHED ⓘ |
Referenced by (3)
Full triples — surface form annotated when it differs from this entity's canonical label.
this entity surface form:
File Handling API