October 13th, 2012, 06:59 AM
File Download Progress Bar Help Needed, thanks!
Dear Perl Hackers : )
How can i add a progressbar to get this script below to show progress? What it does is you enter the url to the file you need to download, give a file name and click the download button and it gets the file for you. Adding a progress bar would make it more useful.
I've started learning perl 2 days back and loving it however could not find a specific solution to this one on google. I'm sure someone here will share it with me
Thanks in advance
# script to download files from the internet
$mw = new MainWindow;
$url = $mw->Entry()->pack();
$filename = $mw->Entry()->pack();
$download = $mw->Button(-text=>"Download",-command=>\&download)->pack();
October 13th, 2012, 01:37 PM
October 13th, 2012, 03:41 PM
thanks! FishMonger, i'm experimenting with it and will post updates soon