curl-library
Re: file protocol does not capture metrics?
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 4 Mar 2004 16:10:41 +0100 (CET)
Received on 2004-03-04
Date: Thu, 4 Mar 2004 16:10:41 +0100 (CET)
On Thu, 4 Mar 2004, Jesse Noller wrote:
> I am currently using the file:/ protocol to grab a bunch of files from
> an NFS mount - currently, the issue is that while libcurl and curl both
> perform the desired action, and measures the size - it does not record
> any other metrics, like speed_download (bytes/sec) and other similar
> metrics for example:
You're absolutely right, some necessary function calls is lacking in the
file: department.
Try the attached patch, it brings up a good progress meter for file://
transfers for me.
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]
- TEXT/PLAIN attachment: fileprogress.patch