in reply to Current download information..
I suppose you are using LWP::Simple or LWP::UserAgent. You need to use LWP::UserAgent for this. Look in the manual for the following version of the request function:
$response = $ua->request($request, \&callback, 4096); sub callback { my($data, $response, $protocol) = @_; .... }
Here callback is a function that gets called automatically every time your program receives 4096 bytes. callback can be responsible for updating the progress status bar.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Current download information..
by Anonymous Monk on Jan 05, 2001 at 01:54 UTC | |
|
Re: Re: Current download information..
by ichimunki (Priest) on Jan 05, 2001 at 02:20 UTC | |
by Dominus (Parson) on Jan 05, 2001 at 02:34 UTC |