<div dir="ltr">Try to use FHTTPSend.Document<br><br>Please note that it's a stream.<br><br>Ido<br clear="all"><div dir="ltr">LINESIP - Opening the source for communication<br><a href="http://www.linesip.com" target="_blank">http://www.linesip.com</a><br>

<a href="http://www.linesip.co.il" target="_blank">http://www.linesip.co.il</a><br><br></div><br>
<br><br><div class="gmail_quote">2011/1/17 silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com">silvioprog@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi folks,<br><div class="gmail_quote"><br>I'm tryng to download byte by byte from a binary in a HTTP host, but synapse put the header informations in my binary, e.g.:<br><br>My original binary content:<br>0AAAAAAAAAAAAAAAAAAA<br>



1AAAAAAAAAAAAAAAAAAA<br>
2AAAAAAAAAAAAAAAAAAA<br><br>Synapse content:<br><b>HTTP/1.1 200 OK<br>Date: Mon, 17 Jan 2011 15:40:57 GMT<br>Server: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1<br>




Last-Modified: Mon, 17 Jan 2011 15:38:09 GMT<br>ETag: "d000000054b36-40-49a0c922bb965"<br>Accept-Ranges: bytes<br>Content-Length: 64<br>Keep-Alive: timeout=5, max=100<br>Connection: Keep-Alive<br>Content-Type: text/plain</b><br>




<br>0AAAAAAAAAAAAAAAAAAA<br>1AAAAAAAAAAAAAAAAAAA<br>2AAAAAAAAAAAAAAAAAAA<br clear="all"><br>How I get only 0AAAAAAAAAAAAAAAAAAA, 1AAAAAAAAAAAAAAAAAAA, 2AAAAAAAAAAAAAAAAAAA... to save in my binary?<br><br>Thanks, and excuse me for my poor english. ;)<br>




<br>PS. Simple sample to reproduce 'error' in attached.<br><font color="#888888"><br>-- <br><font color="#000080" face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Silvio Clécio</b></font><br><font color="#000000" face="Verdana" size="1"><b>Blog.</b> <a href="http://blog.silvioprog.com.br" target="_blank"><span style="color: rgb(51, 51, 255);">blog.silvioprog.com.br</span></a><br>




</font><font color="#000000" face="Verdana" size="1"><b>Twitter.</b> <a href="http://twitter.com/silvioprog" target="_blank">twitter.com/silvioprog</a></font></font><br>
</div>
<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br></div>