Re: Disregarding "EOF" Marker in Binary File
- Posted by cklester <cklester at yahoo.com> Nov 16, 2004
- 465 views
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?!? :)