Re: Disregarding "EOF" Marker in Binary File

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 16 Nov 2004 07:34:47 -0800, cklester <guest at RapidEuphoria.com>
wrote:

>
>
>posted by: cklester <cklester at yahoo.com>
>
>I'm trying to send/retrieve a binary file via HTTP with URLMON. It works
>fine except for one thing! I think the problem I've encountered is that
>the file includes an EOF code in the middle of the file itself. It is a
>Microsoft Word template file (*.DOT). Prior to the EOF code is the actual
>text and format of the document. After the EOF is the automation macros
>code.
>
>I'm using get_bytes() to grab the file and puts() to send it. Should I
>be using something else?
>
I think you need to be sending it using quoted printable encoding
(like all those = things). I put something in the archive many years
ago for this, it might be under base 64*

Regards,
Pete
* maybe you could use this and maybe it would be faster, maybe not.
qpe is probably easier.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu