[Lazarus] Get binary (byte by byte) from a HTTP host

ik idokan at gmail.com
Mon Jan 17 22:48:03 CET 2011


2011/1/17 silvioprog <silvioprog at gmail.com>

> Hi Ido,
>
> I tryed with Document, but without sucess. :(
>

You must rewind the Stream before copy it, because the position is at the
end of the stream, so it can not copy empty data. I guess you have an
exception on it.


>
> 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>
>
> Try to use FHTTPSend.Document
>>
>> Please note that it's a stream.
>>
>> Ido
>> LINESIP - Opening the source for communication
>> http://www.linesip.com
>> http://www.linesip.co.il
>>
>> --
> *Silvio Clécio*
> *Blog.* blog.silvioprog.com.br
> *Twitter.* twitter.com/silvioprog
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110117/c05fc682/attachment-0003.html>


More information about the Lazarus mailing list