Mass File Upload Using HTML 5 and JavaScript

This page demonstrates how to upload a large number of files from a browser to a server. It works in Chrome and Firefox browsers. There are two tricks in use: My code was inspired by How do I use Google Chrome 11's upload folder feature in my onw code ? and HTML5 FIle Upload with progress articles.

Here is the form:

Select a directory (in Chrome) or multiple files (in Firefox):