in reply to knowing when a file is done writing to the server?

The file goes in a temp directory until it is fully uploaded, and then the user who is uploading moves it to the final directory.
  • Comment on Re: knowing when a file is done writing to the server?

Replies are listed 'Best First'.
Re^2: knowing when a file is done writing to the server?
by Anonymous Monk on Apr 05, 2017 at 01:22 UTC
    Maybe I shouldn't have said "final". The uploader puts it in a "completed" directory when it is done. When your server process sees that something is in the "completed" directory, it can move it wherever it needs to go after that.