cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Wget vs. Curl

From: Bill Mercer <bmercer_at_nccer.org>
Date: Tue, 17 Apr 2012 12:41:21 +0000

Are you actually seeing a difference in real-world transfer speeds? As I recall, wget and curl calculate their transfer rates differently, and that could account for the difference you're seeing.

>-----Original Message-----
>From: curl-users-bounces_at_cool.haxx.se [mailto:curl-users-
>bounces_at_cool.haxx.se] On Behalf Of Neels Ltter
>Sent: Friday, April 13, 2012 4:13 AM
>To: curl-users_at_cool.haxx.se
>Subject: Wget vs. Curl
>
>Hi
>
>We've decided to move from wget to curl. We've made use of wget to
>determine download speeds on modems,
>For some weird reason curl's speed_download is always slower( between
>500k and 1MB slower) than wget's indicated speed.
>
>My curl options are: (Speed output is in Bytes)
> curl -x "" -s --connect-timeout 60 --max-time 300 --interface $LOCAL_IP
>$FILE_URL -o /dev/null --write-out
>'%{speed_download},%{url_effective},%{http_code},%{http_connect},%{time_
>total},%{time_namelookup},%{time_connect},%{time_pretransfer},%{time_red
>irect},%{time_starttransfer},%{size_download},%{size_upload},%{size_head
>er},%{size_request},%{speed_upload},%{content_type},%{num_connects},%{nu
>m_redirects},%{ftp_entry_path},' >> download_log-$UNIT_ID-
>$PPP_INTERFACE.`date +%Y%m%d`
>
>wget options : (Speed output in KB/s)
>wget --inet4-only --no-proxy -c -t 3 -a download_log-$UNIT_ID-
>$PPP_INTERFACE.`date +%Y%m%d` -O /dev/null --dns-timeout=60 --connect-
>timeout=60 --read-timeout=60 --bind-address=$LOCAL_IP -i download_input
>
>any ideas? maybe there is some additional parameter on curl that I can
>use?
>Many thanks
>Neels

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-17