Alex Rivera | Logout

How to implement file upload progress bar on web?

Asked 2008-09-08T12:24:25.103
19

I would like display something more meaningful that animated gif while users upload file to my web application. What possibilities do I have?

Edit: I am using .Net but I don't mind if somebody shows me platform agnostic version.

Edit
Report

2 Answers

2

I've tried various techniques and had most success with SWFUpload.

You create and interact with an SWFUpload object using Javascript, but uses a (hidden) Flash file for file selection, uploading and upload progress monitoring. You can specify a wide range of Javascript event handlers (uploadStarted, uploadProgress, uploadError etc.) that the Flash will call during the upload progress making it very flexible. It also implements a file queue, so it works well for single or multiple files.

Links:

answered 2008-09-09T11:26:23.113
0

A good example of doing this without using Ajax is given at CodeProject by Nilesh Thakkar.

answered 2008-09-08T12:26:08.720

Your Answer