Re: [twsocket] HttpClient download and Progress Bar

2011-01-09 Thread Jean-Paul Passama
Le 09/01/2011 16:08, Jean-Paul Passama a écrit : Le 09/01/2011 15:49, Arno Garrels a écrit : Jean-Paul Passama wrote: Hi, I'm trying to have a progress bar working during a file download by HttpClient.Get (and HttpClient.RcvdStream). I've seen the OnDocData that seems to receive the length of

Re: [twsocket] HttpClient download and Progress Bar

2011-01-09 Thread Jean-Paul Passama
Le 09/01/2011 15:49, Arno Garrels a écrit : Jean-Paul Passama wrote: Hi, I'm trying to have a progress bar working during a file download by HttpClient.Get (and HttpClient.RcvdStream). I've seen the OnDocData that seems to receive the length of data downloaded. Unfortunaly, the data length isn

Re: [twsocket] HttpClient download and Progress Bar

2011-01-09 Thread Arno Garrels
Jean-Paul Passama wrote: > Hi, > > I'm trying to have a progress bar working during a file download by > HttpClient.Get (and HttpClient.RcvdStream). > > I've seen the OnDocData that seems to receive the length of data > downloaded. Unfortunaly, the data length isn't really the size of the > piece

Re: [twsocket] HttpServer UTF8 problem

2011-01-09 Thread Arno Garrels
Busai Péter wrote: >> Hi! >> >> I'm trying to port my webapplication to Delphi XE unicode compiler. >> I have problem to encode accented text in RowDataGetter. >> In recent nonunicode version I just made conversion like: >> Tagdata.Add('key', AnsiToUTF8(some_accented_value)) >> In Delphi XE I trie

[twsocket] HttpServer UTF8 problem

2011-01-09 Thread Busai Péter
Hi! I'm trying to port my webapplication to Delphi XE unicode compiler. I have problem to encode accented text in RowDataGetter. In recent nonunicode version I just made conversion like: Tagdata.Add('key', AnsiToUTF8(some_accented_value)) In Delphi XE I tried Tagdata.Add('key', UTF8Encode(some_acc

[twsocket] HttpClient download and Progress Bar

2011-01-09 Thread Jean-Paul Passama
Hi, I'm trying to have a progress bar working during a file download by HttpClient.Get (and HttpClient.RcvdStream). I've seen the OnDocData that seems to receive the length of data downloaded. Unfortunaly, the data length isn't really the size of the piece of file downloaded because the pack