Re: Determining when a file has finished copying

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Cameron Simpson

    Re: Determining when a file has finished copying

    On 09Jul2008 15:54, Ethan Furman <ethan@stonelea f.uswrote:
    The solution my team has used is to monitor the file size. If the file
    has stopped growing for x amount of time (we use 45 seconds) the file is
    done copying. Not elegant, but it works.
    If you know that files appear in sequence (a single serial upload
    process, not multiple uploaders) you can augument this with a check
    that an additional file has started to upload, ergo the current file
    has finished. Of course, only you can decide if this might be relied upon.

    Cheers,
    --
    Cameron Simpson <cs@zip.com.auD oD#743

Working...