in reply to Do the File::Stat values Update While a File is Being Written?

Could your remote process flock the file as it's writing?

The stuff returned by stat should be up-to-date, but it might only be from the last buffer write. That is, if you're writing to the file very slowly (so that data is buffered without being written for a long time), the mtime will be updated infrequently.

  • Comment on Re: Do the File::Stat values Update While a File is Being Written?