Disregarding "EOF" Marker in Binary File
- Posted by cklester <cklester at yahoo.com> Nov 16, 2004
- 455 views
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? How can I get the whole file and not just that first part? Rob? Anybody? Thanks! :) -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/