Delphi TIdHTTP number of bytes transferred [duplicate]


I’m using FireMonkey (same in VCL) and send data with code below:

TIdHTTP.Post(url, param);

When param contained only text it was ok, now I have to post base64 for a TBitmap.

Sometimes it takes time for the Post() method to return a result.

How can I get the number of bytes transferred to add a progress bar?

Comments are closed.