Hi all , i found this function in a source code
Delphi-Quellcode:
function TDownThread.GetSize: Integer;
begin
try
if IdHttp<>nil then
result := Max(IdHttp.Response.ContentLength,IdHttp.Response.ContentRangeLength)
else
result := 0;
except
result := 0;
end;
result := Max(0,result);
end;
But when i want to recompile it i get : undeclared identifier "ContentRangeLength"
could someone correct this please .