Re: [Synalist] THTTPSend GET slower than wget

2011-07-26 Thread Leonardo M . Ramé
___ From: Piotr Polok top...@polok.pl To: Ararat Synapse synalist-public@lists.sourceforge.net Sent: Tuesday, July 26, 2011 1:44 AM Subject: Re: [Synalist] THTTPSend GET slower than wget procedure TForm1.FormCreate(Sender: TObject); begin     HTT := THTTPSend.Create

Re: [Synalist] THTTPSend GET slower than wget

2011-07-26 Thread Felipe Monteiro de Carvalho
On Tue, Jul 26, 2011 at 6:44 AM, Piotr Polok top...@polok.pl wrote:    HTT.Sock.OnStatus := callback.Status; end; Above code gives me a message: Variable required. What I'm doing wrong? If you are using FPC it should probably be: HTT.Sock.OnStatus := @callback.Status; -- Felipe Monteiro

Re: [Synalist] THTTPSend GET slower than wget

2011-07-26 Thread Leonardo M . Ramé
From: Piotr Polok top...@polok.pl To: Ararat Synapse synalist-public@lists.sourceforge.net Cc: Sent: Tuesday, July 26, 2011 6:09 AM Subject: Re: [Synalist] THTTPSend GET slower than wget On Tue, 26 Jul 2011 10:43:01 +0200, Felipe Monteiro de Carvalho wrote: On Tue, Jul 26, 2011 at 6:44

Re: [Synalist] THTTPSend GET slower than wget

2011-07-26 Thread Piotr Polok
Could you show more info about the message?. The error is at compile time or at run time?. This message is at compile time. -- pozdrawiam Piotr Polok --- POLOK WELDING 44-121 Gliwice ul. Sowińskiego 3 NIP: 631-112-45-46 tel: (32) 725 77 77 fax: (32) 444 64 50

Re: [Synalist] THTTPSend GET slower than wget

2011-07-26 Thread Leonardo M . Ramé
Original Message - From: Piotr Polok top...@polok.pl To: Ararat Synapse synalist-public@lists.sourceforge.net Cc: Sent: Tuesday, July 26, 2011 8:44 AM Subject: Re: [Synalist] THTTPSend GET slower than wget Could you show more info about the message?. The error is at compile

Re: [Synalist] THTTPSend GET slower than wget

2011-07-26 Thread Piotr Polok
Ok, then please show us the complete error message, including the line numer. This is a code: procedure TForm1.HeartBeat(Sender: TObject); var lBlkSock: TBlockSocket; lDownloaded: Integer; begin lBlkSock := TBlockSocket(Sender); lDownloaded:= lBlkSock.RecvCounter; Self.Caption

Re: [Synalist] THTTPSend GET slower than wget

2011-07-20 Thread Michael Van Canneyt
On Wed, 20 Jul 2011, Leonardo M. Ramé wrote: Hi, I'm using THTTPSend to retrieve some files of ~10mb in size aprox. using GET method. As it felt slow, I did some tests using wget and curl to call the same urls and found THTTPSend takes almost twice the time of the other utilities. I use

Re: [Synalist] THTTPSend GET slower than wget

2011-07-20 Thread Leonardo M . Ramé
- Original Message - From: Michael Van Canneyt mich...@freepascal.org To: Ararat Synapse synalist-public@lists.sourceforge.net Cc: Sent: Wednesday, July 20, 2011 2:39 PM Subject: Re: [Synalist] THTTPSend GET slower than wget On Wed, 20 Jul 2011, Leonardo M. Ramé wrote: Hi

Re: [Synalist] THTTPSend GET slower than wget

2011-07-20 Thread Piotr Polok
On Wed, 20 Jul 2011 10:22:59 -0700 (PDT), Leonardo M. Ramé wrote: Hi, I'm using THTTPSend to retrieve some files of ~10mb in size aprox. using GET method. As it felt slow, I did some tests using wget and curl to call the same urls and found THTTPSend takes almost twice the time of the other