Tom, RandomAccessFile provides a method called length() that returns the length of the file in bytes, and a method called getFilePointer() which returns your current position from the beginning of the file in bytes. You can use these methods to find out where the end of file is... or if you are at it... HTH, -Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.