Top "Fileapi" questions

Use this tag for questions related to the W3C File API.

Get filename after filereader asynchronously loaded a file

I am loading several files in a directory in order to parse some data from them. This works great so …

javascript android cordova fileapi
Fallback for FormData in IE 8/9

FormData does not exist in IE 8/9 but I need that functionality in those browsers. Is there a nice fallback for …

javascript ajax xmlhttprequest fileapi
Specifying blob encoding in Google Chrome

The following code (vendor normalized) works perfectly fine and displays "➀➁➂ Test" in Firefox 8, but displays "➀âžâž‚ Test" in Google Chrome. Is …

javascript google-chrome encoding fileapi
Check if variable holds File or Blob

Javascript has both File and Blob for file representation, and both are almost the same thing. Is there a way …

javascript fileapi
Reading multiple files with Javascript FileReader API one at a time

I'm using the FileReader API to read multiple files. <html> <body> <input type="file" id="…

javascript html filereader fileapi
Angular 2 download .CSV file click event with authentication

I'm using a spring boot backend and my api uses a service to send data via an OutputStreamWriter. I can …

javascript angular typescript download fileapi
Failed to construct 'File': Iterator getter is not callable in chrome 60 when use JSON.stringify()

System Configuration : macOS Sierra 10.12.5 ; chrome 60; I am trying to download JSON data ( response object ) as a json file but when …

javascript fileapi
How FileReader.readAsText in HTML5 File API works?

I wrote the following code to check whether the uploaded file exists or not using HTML5 file API. The following …

javascript html drag-and-drop textarea fileapi
encode/decode image with base64 breaks image

I am trying to encode and decode an image. I am using the FileReader's readAsDataURL method to convert the image …

javascript fileapi
Html5's File API - BLOB usages?

I have a file input : (jsbin) <input type="file" accept="image/*" id="input" multiple onchange='handleFiles(this)' /> …

javascript html blob fileapi