Hello, I am opening a file and reading from it. I need to leave the file and then return to the position that i finished reading at. OK, so i can get the exact position in bytes using pipe.pos However when i return to the file i then need to jump back to this position, i can''t seem to so this using ios.seek, is there a way to do this? The final resort i suppose would be to write something to the file to mark the last position of reading and then when returning read and do nothing untill you hit this spot.. any other ideas? Thanks, Jamie -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---