470,596 Members | 1,609 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,596 developers. It's quick & easy.

Upload Files progress bar

109 100+
Hi... i am doing some CGI script using perl. I would like to create a progress bar to indicate the progress of the uploading. Is this possible? i don't have the CGI::ProgressBar module...

Is it possible to get the number of bytes transfered then divide by the size of the file to upload and then draw a simple image through html?
Jun 4 '07 #1
2 2461
1,089 Expert 1GB
It is possible yes. Is it easy? No.

I've never used CGI::ProgressBar, but that might be something worth exploring. Overall though, I think the simpliest method is to simply have an animated gif that implies that the website is working and will be done eventually.

cpan CGI::ProgressBar

If you want an interactive Progress Bar, the only real way to do it is to use Ajax. This is something that is currently beyond my experience or interest.

- Miller
Jun 4 '07 #2
109 100+
Any new idea how to go about doing the upload progress bar?

Jun 27 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Stephane | last post: by
9 posts views Thread by Bob Bedford | last post: by
4 posts views Thread by Uncle Ben | last post: by
4 posts views Thread by Pavils Jurjans | last post: by
9 posts views Thread by Wayne Smith | last post: by
5 posts views Thread by LtCommander | last post: by
2 posts views Thread by =?Utf-8?B?SHVzYW0=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.