Pages

Friday, December 24, 2010

Multiple File Upload Options

I was recently confronted with a question about how to do multiple file uploads from a browser based application. The HTML 4.x specification is pretty open on the file upload requirements, and all of the browser implementations are very basic.  Firefox, Safari, Web Toolkit, and Internet Explorer all provide a method to upload one file at a time, but no multiple file upload. As a result, clever coders have come up with a number of solutions. Here are a few.

These are some approaches available to you. If you are using a JSF based framework, a number of them already include a multiple file upload component based on Apache Commons File Upload.

0 comments :