Firefox now Supports Multiple File Uploads
By on December 11th, 2009

Firefox now has support for multiple file uploads. This allows us to upload more than one file when the file upload selection dialog turns up. This development was made possible with the Firefox FileAPI.

firefox-logo

Earlier, whenever a file upload dialog popped up, we could select only a single file and upload it. This was a major annoyance in a multiple document upload like file parts of image uploads. But the inclusion of the FileAPI has made uploading files much easier.

Unlike earlier, when we used:

<input type="file"/>

we now need to specify an extra multiple field to enable multiple uploads as:

<input type="file" multiple=""/>

This will give us the file picker tool and let us select multiple files.  This has been made possible with the FileAPI which allows us to perform extra processing on the client side before we upload files to a remote server. The FileAPI uses an array file object to make this possible.

This is just one of the few additional things FileAPI can do. Apart from this, FileAPI can also allow us to read EXIF data from images and do other client sided data operations.

Author: Chinmoy Kanjilal Google Profile for Chinmoy Kanjilal
Chinmoy Kanjilal is a FOSS enthusiast and evangelist. He is passionate about Android. Security exploits turn him on and he loves to tinker with computer networks. He rants occasionally at Techarraz.com. You can connect with him on Twitter @ckandroid.

Chinmoy Kanjilal has written and can be contacted at chinmoy@techie-buzz.com.
  • Ang

    Which version of Firefox does this apply to?

  • http://bit.ly/6xyBMT Sriram

    Such a beautiful option. Wow. FF rocks.

 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN