a progress bar showing the upload status would be great!

Comments

Michael M’s picture

Actually, this can't be done with PHP, JavaScript, and HTML. The reason for this is because the PHP script doesn't have control over the file uploaded until it completes. The only solution that I know about is using a java applet to display a progress bar.

But, on the low end of the feature, you can always display some looping animation. (just like the auto complete, javascript upload feature, etc.)

zirafa’s picture

I've always wondered if we couldn't just use an ajax upload like the attachment module uses...would be nice I think.

anisotropic’s picture

I think the best approach would be to use the upload.module's js progress feature. The issue is not so much to accurately display the progress of the upload, but instead to do the upload post asynchronously instead of having to lock the page. This is particularly a problem for large uploads like mp3 tracks.