I'm trying to have a progress bar working during a file download by HttpClient.Get (and HttpClient.RcvdStream).

I've seen the OnDocData that seems to receive the length of data downloaded. Unfortunaly, the data length isn't really the size of the piece of file downloaded because the packed received include the HTTP protocol and the data.

Is a way to know :
- the size of the entire file (before starting the download)
- the size of all data (I mean the size of the file piece received and not the size of the entire packet received).

To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to