> > Thanks for pointing that out, it's strange as the code definately works > (it returns correct content lengths repeatedly for different files) but > as you say Array#hex doesn't exist - I'll look into this ... A quick reply to myself - I've just checked the code and I'm missing an Array#join call in the above example, so the example wasn't correct ... -- Posted via http://www.ruby-forum.com/.