I have a File object and I want to be able to know if the actual file on the disk that it references is currently being written to. Is there any way to do this?
To see if the file is currently being written to, you could check the size a few times using the length() method to determine if the file is growing or shrinking. I believe this will work.