When is file copied

I’d expect that technique to fail when the file is read-only. In that case, periodically checking file size for changes is the only (mostly) reliable way.

*mostly because this technique will also fail if the network connection is stalled, which is quite rare and unlikely on a local network.

No, I would not advice to do that. Just use a timer. I check every 5 seconds.