No, seeking works via offset from start of file. To get the first byte, the offset is 0. As I said, the second example works. HOWEVER, changing this to a 1 makes no difference to it working or not working. In both cases, the first example doesn't work, but the second does. I'm not trying to get the second example working, I'm trying to get the first example working. I need file writing using EOF, but it doesn't seem to be working. >_<