Hi All, Looks like the documentation for CURLINFO_CONTENT_LENGTH_DOWNLOAD_T <https://curl.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.html>is not correct as it indicates that this is only supporting http protocol.
I ran a test for scp protocol and it works fine. Also the previous version of it (CURLINFO_CONTENT_LENGTH_DOWNLOAD <https://curl.se/libcurl/c/CURLINFO_CONTENT_LENGTH_DOWNLOAD.html>) supports all protocols. Hence, I think the man page is wrongly stating that CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is supported for HTTP only. Please let me know if I'm missing something. Regards, Negar
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html
