Name
easy:GetInfo_Content_Length_Download -- get content-length of download
Synopsis
content_length = easy:GetInfo_Content_Length_Download()
Function
Returns the content-length of the download. This is the value read from the Content-Length: field. Since 7.19.4, this returns -1 if the size isn't known.

#CURLINFO_CONTENT_LENGTH_DOWNLOAD_T is a newer replacement that returns a more sensible variable type.

Inputs
none

Results
content_length
output value

Show TOC