0

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?

Josh Mein
  • 28,107
  • 15
  • 76
  • 87
Fiona - myaccessible.website
  • 14,481
  • 16
  • 82
  • 117
  • All HTML, CSS and JS is open-source - look at what it's doing client side at least. – Ryall Nov 17 '09 at 13:00
  • @Kelix: 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... – Zhaph - Ben Duguid Nov 17 '09 at 13:46

3 Answers3

3

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

pixeline
  • 17,669
  • 12
  • 84
  • 109
0

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
  • 57,174
  • 8
  • 131
  • 162
  • 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. – Josh Mein Dec 23 '09 at 13:55
0

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 - myaccessible.website
  • 14,481
  • 16
  • 82
  • 117
  • More likely the JavaScript is generated via the Google Web Toolkit, which cross-compiles Java to JavaScript: http://code.google.com/webtoolkit/ – Steve-o Mar 23 '10 at 06:22
  • It's probable that they've updated the upload mechanism since last year, but what interests me is that it now works without Flash *and* without refreshing the page — similar to Uploadify or SWFUpload (but without the Flash). I'm really curious how they're able to do this, as I would love to stop using SWFUpload. – JKS Jan 22 '11 at 17:38