[Lazarus] Get binary (byte by byte) from a HTTP host
Sven Barth
pascaldragon at googlemail.com
Mon Jan 17 18:51:57 CET 2011
Am 17.01.2011 17:39, schrieb silvioprog:
> Hi Ido,
>
> I tryed with Document, but without sucess. :(
>
> My second simple demo (not works) with Document in attached.
>
> PS. My binary can be TXT, EXE, XML etc.
>
> 2011/1/17 ik <idokan at gmail.com <mailto:idokan at gmail.com>>
>
> Try to use FHTTPSend.Document
>
> Please note that it's a stream.
HTTP headers *always* end after an empty line. So you could scan for two
newlines after each other (I don't know whether you must only look for
LineFeed or CarriageReturn or both).
Regards,
Sven
More information about the Lazarus
mailing list