<!DOCTYPE html>
<html>
<head>
<title>Mass File Upload Using HTML 5 and JavaScript</title>
<style type="text/css">
table.zaklad {
border-collapse: collapse;
margin: 5px;
}
table.zaklad th, table.zaklad td {
border: solid 1px black;
padding: 4px;
}
</style>
<!-- Google analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1281621-11']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<h1>Mass File Upload Using HTML 5 and JavaScript</h1>
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:
<ul>
<li> In Chrome, a file input field with <code>webkitdirectory</code> attribute can select a whole directory,
while in Firefox, a file input field with <code>multiple</code> attribute can select multiple files.
<