Perl

Moderators: Jonathan
Number of threads: 1236
Number of posts: 3605

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Mechanize download progress bar Posted by KsEm on 14 Feb 2009 at 10:20 AM
Hello !

Well, how could i manage to set up a progress bar while downloading a file ?

$m->get($content3[0], ":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
Report
Re: Mechanize download progress bar Posted by CSK001 on 21 Mar 2009 at 2:50 AM
Hi,
This is one of my favorite forum. I would say, thanks for providing this useful information. I, must appreciate the tools provided by you. Please keep updating me.

CSK





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.