Hello,
Some times, we need to resume a download. To do this is very easy, enough read byte by byte and continuing from the last 50KB (Chrome and Firefox works so).
So, TFPHttpClient allow to read byte by byte of a content?
Thank you!

Mailing lists / lazarus / 2013-01
5 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello,
Some times, we need to resume a download. To do this is very easy, enough read byte by byte and continuing from the last 50KB (Chrome and Firefox works so).
So, TFPHttpClient allow to read byte by byte of a content?
Thank you!
No.
Michael.
2013/1/23 Michael Van Canneyt
Based on future implementation to "TFPHttpClient: download progress (or status)" feature request ...:
(...)
TOnProgressEvent = (Sender : TObject; BytesRead,ContentLength : Int64) of object;
(...)
...if the "Sender" is the Stream, you can resume download, saving current stream to a file. Would have to implement only one parameter for reading the stream be launched from the size of the file that has been saved to disk. (I do not know if the translator was clear in my explanation. :/ )
Some times, we need to resume a download. To do this is very easy, enough read byte by…
Hi silvioprog,
Please discuss FPC related topics in fpc-pascal. That way everybody interested in FPC only discussions can follow. eg: I almost missed these discussions (which I am interested in), because I auto-mark Lazarus mailing list messages as read.
Thanks,
G.
2013/1/24 Graeme Geldenhuys
OKs. Sorry.