Results 1 to 10 of 21
-
17th Jan 2012, 06:55 PM #1OPMemberWebsite's:
WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.proNeed Help In cURL Progressbar
i need a progress bar for my downloader script,my script is curl based and its saving files using cul file function,and i don't have knowledge about progressbar,guys please help me.i need it urgent.
What I Need?
Ans: every 5 sec it will update the status of trasfer,like how much downloaded in 5 sec/total size and then status of 10 sec count......or in %saninokia Reviewed by saninokia on . Need Help In cURL Progressbar i need a progress bar for my downloader script,my script is curl based and its saving files using cul file function,and i don't have knowledge about progressbar,guys please help me.i need it urgent. What I Need? Ans: every 5 sec it will update the status of trasfer,like how much downloaded in 5 sec/total size and then status of 10 sec count......or in % Rating: 5
-
17th Jan 2012, 07:06 PM #2MemberWebsite's:
wautoposter.compm me your code i will add progressbar
-
17th Jan 2012, 07:16 PM #3OPMemberWebsite's:
WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
-
17th Jan 2012, 08:23 PM #4MemberWebsite's:
dota2lounge.comi did that with filesize(), curl_getinfo() (before dl start), and with html5 <progress>
-
17th Jan 2012, 08:37 PM #5OPMemberWebsite's:
WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
-
17th Jan 2012, 09:14 PM #6MemberWebsite's:
dota2lounge.comGetting size of whole file:
PHP Code:$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.dsa.da/urfile.rar");
curl_setopt($ch, CURLOPT_NOBODY, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_exec($ch);
$info = curl_getinfo($ch);
$maxSize = $info['download_content_length'];
Upadaing every 5 sec i did in JS, its just ajax request of file:
PHP Code:echo filesize("urfile.rar")
Code:<progress max="<?php echo $maxSize ?>" value=""></progress>
-
17th Jan 2012, 11:10 PM #7MemberWebsite's:
imdber.org justpaste.meCheck CURLOPT_PROGRESSFUNCTION if on 5.3
-
18th Jan 2012, 07:54 AM #8OPMemberWebsite's:
WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
-
18th Jan 2012, 11:07 AM #9MemberWebsite's:
sborg.us^^ By adding a while loop with a sleep of 5 seconds and a condition to stop the loop when the download completes?
V3g3ta | Halcyon | Abhi
-
18th Jan 2012, 11:09 AM #10MemberWebsite's:
dota2lounge.comyep like halcyon, and me before said. do that in javascript
things you need:
Code:setTimeout(function() { // here your ajax request },5000);
jQuery.ajax()
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Curl to Uploaded.to
By skinner in forum Web Development AreaReplies: 18Last Post: 12th Feb 2012, 07:05 AM -
Curl url file (I need help)
By spanero in forum Web Development AreaReplies: 3Last Post: 22nd Dec 2011, 04:23 PM -
Curl IPB help
By xwarlordx in forum Web Development AreaReplies: 3Last Post: 23rd Aug 2011, 06:33 AM -
cURL Pro Coders.
By kohkindachi in forum Completed TransactionsReplies: 2Last Post: 5th Dec 2010, 12:30 AM -
How to install CURL in WHM
By ken in forum Technical Help Desk SupportReplies: 2Last Post: 22nd Sep 2010, 01:46 PM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...