Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Yet another progress bar...addendum

by Macphisto (Hermit)
on May 29, 2002 at 05:38 UTC ( [id://169985]=note: print w/replies, xml ) Need Help??


in reply to Yet another progress bar.

The following approach just came to me while I was settling into bed, and since my memory is terrible, I thought it best to write it up quickly:

If I could somehow, not process the information immediately after the submission button was pressed, I could then at least produce a graphic, or just throw out a count of bytes recieved. Something akin to - the user submits the information by striking the submit key and before I start pulling down that information, I create a popup window ( or just use the mainwindow for all I care ) and display total kB of data I've recieved by using the -s test on a predetermined temporary file. This would of course start at 0 since the file would be there, but it would have no data initially. The transfer of the file would begin and a meta-tag Refresh would allow the page to refresh every three seconds, thus recalling the progress_handler and again -s testing the temp file. The problem is how to delay that download so I can make the initial call to progress_handler and output output something - anykind of html or display first?



Everyone has their demons...you just happen to be mine.
  • Comment on Re: Yet another progress bar...addendum

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://169985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2025-07-18 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.