Thanks José. I'm implementing another simple demo, after I finish I share
here.
Thanks to all.
2011/1/18 José Mejuto joshy...@gmail.com
Hello Lazarus-List,
Tuesday, January 18, 2011, 4:13:13 AM, you wrote:
s Not works, Document property always is empty in OnMonitor event. x(
You can not
Hello Lazarus-List,
Tuesday, January 18, 2011, 4:13:13 AM, you wrote:
s Not works, Document property always is empty in OnMonitor event. x(
You can not access Document from OnMonitor, you can only access Socked
properties/status.
Synapse is blocking, so :
1) HTTPSend prepare headers.
2)
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
2011/1/17 silvioprog silviop...@gmail.com
Hi folks,
I'm tryng to download byte by byte from a binary in a HTTP host, but
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 ido...@gmail.com mailto:ido...@gmail.com
Try to use FHTTPSend.Document
2011/1/17 silvioprog silviop...@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
Hi Sven,
Always an empty line... this is a very good information. ;)
Hm..., a reply from the synapse list:
(...)
2011/1/17 Lukas Gebauer gebylist@...
Just courious - where you are reading THttpSend.Document with readed
binary datas? And why you are saving to your stream values from
OnMonitor
Not works, Document property always is empty in OnMonitor event. x(
Hm..., I think isn't possible resume download with Synapse, I tryed all but
without sucess.
2011/1/17 ik ido...@gmail.com
You must rewind the Stream before copy it, because the position is at the
end of the stream, so it can