Use ContentLength property to get the total size of what you are downloading.
Note that ContentLength is not mandatory. Some - old - webservers do not send
the value in their
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
----- Original Message -----
From: "Nick" <[EMAIL PROTECTED]>
Sent: Wednesday, August 03, 2005 8:35 AM
Subject: [twsocket] Http - total to download
> Hello there,
> I am using the HttpCli component, and I can use HttpCli1.RcvdCount on the
> OnDocData event,
owever - is there some Total variable which I can use to get the total size of
what I was getting.
> Ie if I was downloading an item that was 5MB, how can I show what the file
> size is, and a progress
> Thanks a lot.
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be