Re: Disregarding "EOF" Marker in Binary File

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

Pete Lomax wrote:
> On Tue, 16 Nov 2004 07:34:47 -0800, cklester <guest at RapidEuphoria.com>
> wrote:
> >I'm trying to send/retrieve a binary file via HTTP with URLMON...
> >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*

Pete,

THANKS SO MUCH!!!

It works beautifully now! The Euphoria client application goes out onto
the internet and requests a list of files from the Euphoria server
application. The user can select which files he wants, then clicks a
button and those files are brought to his machine. This is all being done
via HTTP with Apache and some Euphoria programs.

The server program uses encode64() to send the binary file, then the
client uses decode64() to write it to disk.

Is it normal for the encoded file to be larger than the actual file?

Thanks again, Pete!!!

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

P.S. You're not gonna let Jiri beat you, are ya?!? :)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu