The website frontend for Dropbox allows one to upload multiple files from the same dialogue box.
How does this work exactly? Is it some cutting-edge HTML tag? Or fancy JavaScript? Or a Flash / Java embedded application?
It's amazing and I didn't think it was actually possible!
Please advise.
Last time I checked it was Flash. It uses ActionScripts FileReference class. Check out http://swfupload.org/ if you want to add this kind of functionality to your own application.
What surprised me the most in the beginning was that you could have this kind of functionality with no message asking for user permission whatsoever. I was used to java applets for this kind of feature, and to access the file system they need to be signed, and ask for user permission before execution. The trick with Flash is that you just :
So there is no security risk for the user, as the programmer never gets access to the file system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With