curl-users
Problem with the -w "%{size_download} option
Date: Fri, 25 Sep 2009 21:20:59 +0200
Hi all,
I'm new with curl and this list.
I have a problem with the -w "%{size_download}" option.
When used with http protocol, the downloaded size is correct. The command
i'm using for test is shown below :
/opt/curl-with-openldap/bin/curl http://www.axivia.com -w "%{size_download}
downloaded bytes\n"
But when used with ldap or ldaps protocol, datas are successfully returned
but the "%{size_download}" is 0. The command with ldaps is shown below :
/opt/curl-with-openldap/bin/curl -k
ldaps://blade1/dc=axivia,dc=com??sub?objectclass=* -w "%{size_download}
downloaded bytes\n"
Idea ?
Thanks a lot.
Regards,
Didier
-------------------------------------------------------------------
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 2009-09-25