Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • In windows at least I can say it's possible to query the kernel for handles on a given file that would tell you if anyone had a write handle so you could poll. Linux likely has similar though I don't know about it, also doing this from python may be tricky but I presume python has some capability for FFI that will allow COM calls or etc Commented Jun 7, 2013 at 22:42
  • 1
    I have not used it but watchdog (pypi.python.org/pypi/watchdog) might be appropriate. It has has the "watchmedo" command you could use to see if it handles partial transfers correctly. Commented Jun 8, 2013 at 19:37