Re: Posting Binary via HTTP

Giganews Newsgroups
Subject: Re: Posting Binary via HTTP
Posted by:  Remy Lebeau (TeamB) (gambit…@yahoo.com)
Date: Mon, 1 Sep 2003

"Matt Saint" <ma…@borer.co.uk> wrote in message
news:7EDE7BF2377DE240ma…@borer.co.uk...

> The following code should POST a file to the server - the server
> is responding to GET's ok and POST's that use a StringList .Post
> But nothing is coming through for this post code at the server end,
> though no execptions are being raised. Is there another means of
> posting a Binary at the HTTP Server?

Try using a TIdMultiPartDataStream instead of a TMemoryStream.

Gambit

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03

Replies

In response to

Posting Binary via HTTP posted by Matt Saint on Mon, 1 Sep 2003