Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Mechanize download progress bar
Well, how could i manage to set up a progress bar while downloading a file ?
$m->get($content3, ":content_file" => $origFile);
That way i download it.
I tried to do this:
get size from downloaded file so far / total file size * 100.
But this dont work because first the file must be downloaded and then the the progress bar goes.
How could i do that while my file is downloading, my progress bar to go like 1%, 5% .. etc.. something like wget
Sorry 4 english ;P
0 · ·