Simple demo of an HTML5 multi-uploader with Python/Flask.
This is a quick example of a Python/Flask app I wrote while figuring out how to make an HTML5 multi-file uploader script.
This app just presents an HTML form full of the usual types of input elements (text boxes, checkboxes, etc.), and a multi-file input box, and an HTML5 drag/drop target for dragging files from your PC into the page.
It demonstrates that you can combine a multi-file upload form along with other form data (i.e. letting a user choose album details to upload the pictures into). There's also a live progress bar that tells you the current progress of the upload. It doesn't break it down by individual file though, to keep things simpler.
POSTdirectly to the back-end), a normal HTTP redirect is given to the final results page.
This is released in the public domain in the hopes that it will be generally useful to other developers. I wrote this just to see how to do it and to use as reference in other projects.