Re: How to transfer binary?

Giganews Newsgroups
Subject: Re: How to transfer binary?
Posted by:  Bruce McGee (bmcg…
Date: Fri, 17 Oct 2003

John Small wrote:
> I've got a problem sending XML over the line. Indy messes up certain
> characters, so I want to send the raw bytes, how do I do it?
> John Small

Hi John,

How are you transferring the XML now, and what characters get messed up?
  I get XML with Indy components all the time, but I'm using IdHTTP, so
I might not be seeing what you are.

I've had good luck sending binary data using the TCP components and
either Write or WriteStream.  No corruption.

Bruce McGee
Glooscap Software



In response to

How to transfer binary? posted by John Small on Wed, 1 Oct 2003