By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,680 Members | 2,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,680 IT Pros & Developers. It's quick & easy.

Upload Files progress bar

100+
P: 109
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
Share this Question
Share on Google+
2 Replies


miller
Expert 100+
P: 1,089
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

100+
P: 109
Any new idea how to go about doing the upload progress bar?

Thanks..
Jun 27 '07 #3

Post your reply

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