INFO Http Client.POST Stream Seek error message?

Giganews Newsgroups
Subject: INFO Http Client.POST Stream Seek error message?
Posted by:  Dan Parker (d…@borer.co.uk)
Date: Wed, 20 Aug 2003

I have the following code - trying to post data to a web server (indy
component to indy component) and doing this as a Get is fine, except i have
to do a line at a time. I am trying to switch to the POST function but when
its called the following error is returned ... any suggestions.

ERR:
  EStream Error with message Tstream.seek not implemented

Thanks

MATT

lines:=TstringList.Create;
...
Stresponse:=Tstream.create;
StreamOut:=TStringStream.create( lines.Text );
Streamout.Seek(0,0);
idHttp1.Post('http://address/WRITE?PROJECTHANDLE='+Fp^.DBHANDLE, StreamOut,
Stresponse);
StreamOut.Free;
Sstresponse.Free;

Replies