From: Matt Harrison Date: 2008-08-19T09:21:01+09:00 Subject: Re: reading x bytes at a time I've just played around and found this seems to work: File.open(path, "r") do |fh| while (chunk = fh.read(blocksize)) outFH.puts Digest::MD5.hexdigest(chunk) + "\n" end end Is this a good way to do it? Thanks Matt -- Posted via http://www.ruby-forum.com/.