views:

371

answers:

3

I'm looking to implement a multiple file uploader in my ASP.NET 3.5 site.

Now, the Google Docs multi-file uploader is pretty awesome, and I'd like to create something like that. Correct me if I'm wrong, but Google Docs is not open source, so I can't get my hands on the source code for it.

Any ideas on how this is implemented, or the best way of creating a nice interactive multi-file uploader like it?

A: 

Nice and interactive : you can build a Silverlight client to send your files to webserver. It allows to select multiple files at once.

Rubens Farias
The main downfall of Silverlight is that very few people have it installed on their machine. So it is still highly recommended to stick with flash.
jmein
A: 

I guess 'Zhaph - Ben Duguid' had the best answer for this one. Post it as an answer and I'll accept it!

GoogleDocs uses a combination of Flash and JS, with the bulk of the work happening in the Flash object, rather than the JS, and they heavily minify their JS to make it smaller to download, and also harder to read...

Fiona Holder
More likely the JavaScript is generated via the Google Web Toolkit, which cross-compiles Java to JavaScript: http://code.google.com/webtoolkit/
Steve-o
+3  A: 

I strongly suggest you give this jquery file upload plugin a try: "uploadify". It makes it super easy to integrate such a feature.

pixeline