Log in

View Full Version : Progress bar like yousendit??



shachi
11-27-2006, 06:35 PM
Hello everyone,

I was not sure where to post this thread as I don't know in which language it was done. But anyways can anyone tell me how did http://yousendit.com/ manage to make the progressbar of the up(loaded) file? After you've uploaded any file it shows a progressbar showing your file's status. Does anyone know how to make something similar?

Thanks for time reading this post.

djr33
11-27-2006, 09:03 PM
My first thought is that any of the progress bars on DD would do, but that's not true, since you need to take into account the user's upload rate and the filesize of their file.

You might be able to fake it by guessing at their upload rate (through a test or two, in the background), and knowing the filesize, but I don't think that'll be worth much.

There should be some way to do this.

I believe the server has some way of communicating the progress of a transfer, though I'm not really sure how.

I don't think YSI does it this way, but a java applet could access the file then upload and tell you how long it's taking, I think.

tech_support
11-28-2006, 06:34 AM
A nice picture generator for loading is http://ajaxload.info/ also.

blm126
11-28-2006, 07:08 PM
The only solutions I know of for this are Perl. http://www.google.com/search?q=perl+AJAX+upload+bar That should help

shachi
11-30-2006, 08:21 AM
Thanks everyone. :)