cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: spead_upload

From: Philippe Baudry <Philippe.Baudry_at_evidian.com>
Date: Tue, 06 Sep 2005 11:16:06 +0200

Daniel Stenberg wrote:
>
> On Tue, 6 Sep 2005, philippe Baudry wrote:
>
> > on linux system, when starting a ftp with curl using a format , returned
> > spead_upload and spead_download variables are not set
> >
> > is there a fix to solve the problem; how to do to get this importants
> > variables
>
> What curl version?
>
> Can you show us an exact command line you use that doesn't work?
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

curl version
-------------

$ curl -V
curl 7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 SSL libz NTLM

ftp curl command line
-----------------------

curl -u ismadm:om4test -T testFtpCurl ftp://casper.frcl.bull.fr//tmp/testFtpCurlCop -w @formatHttp

formatHttp file (general, just to test)
------------------

url : %{url_effective} \n
http_code %{http_code} \n
http_connect %{http_connect} \n
time_total %{time_total} \n
time_pretransfer %{time_pretransfer} \n
time_starttransfer %{time_starttransfer} \n
size_download %{size_download} \n
size_upload %{size_upload} \n
size_request %{size_request} \n
spead_download %{spead_download} \n
spead_upload %{spead_upload} \n
content_type %{content_type} \n

command result
---------------

url : ftp://casper.frcl.bull.fr//tmp/testFtpCurlCop
 http_code 000
http_connect
time_total 15.338
time_pretransfer 15.306
time_starttransfer 15.306
size_download 0
size_upload 7872
size_request 0
spead_download
spead_upload
content_type

comments
-----------

times , size are OK.
speads are not set (same occurs when downloading)

best regards

-- 
Philippe Baudry
Received on 2005-09-06