Multifunctional File Reader: Handle file upload and drag and drop events

Recommend this page to a friend!
  Info   View files Example   Demos   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 161 All time: 318 This week: 14Up
Version License JavaScript version Categories
multifunctional 1.0MIT/X Consortium ...3.0Events, Files and Folders
Description Author

This object can handle file upload and drag and drop events.

It can handle events of clicking or dragging and dropping files oh given page elements.

Then handler can either let the user pick files when the user clicks on the elements or process files when the user drops files in the page elements.

A given callback function is with the processed file data either as text or data URL.

Files that do not match given file name extensions may be ignored.

Innovation Award
JavaScript Programming Innovation award nominee
July 2015
Number 4

Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
Nowadays browsers can let the users pick local files using form inputs or drag and drop events.

This object allows applications to process selected or dropped files on the browser side, thus without relying on a server to perform some useful action with the files.

Manuel Lemos
Picture of Andras Toth
  Performance   Level  
Name: Andras Toth <contact>
Classes: 22 packages by
Country: Hungary Hungary
Age: 49
All time rank: 31 in Hungary Hungary
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 15x

Winner: 9x

  • Capture.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file index.html Example example
Plain text file multifunctionalfilereader.js Class class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:318
This week:14Up