From: agemoagemo@... Date: 2003-09-20T04:22:09+09:00 Subject: Re: Trouble with binary files? --- Heinz Werntges wrote: > >files. Is there something else I have to do to be > able > >to work with binary data? > Did you try IO#binmode ? Unix guys (like me) > typically miss that > when working in a Windows environment. Nope, hadn't seen that. And that fixes it. I don't particularly understand *why* though. Those first 160 bytes were being read properly, what stops it from getting the rest? Why 160? Is it going to suddenly require something else to be done when I go over to the 1.73mb file that the program is designed to process? (I wouldn't *think* so, but then I didn't expect this 160 thing either...) Anyway, thanks for the help. -Morgan. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com