I have a client that I'm in the beginning stages of writing an app for. I'm going to be using DropBox to distribute video files to remote servers that will automatically play all of the video files in the media folder back. I don't need to upload files or do any sort of authentication. What I do need, however, is to know that a file is completely downloaded before attempting to play it. When a file is downloaded into the dropbox folder, is it stored in a temporary file that is copied to the final destination after the transfer is entirely complete or is it possible that a file in the dropbox folder is only partially downloaded?
If the latter is the case, what is the best way to determine when the download is complete? Is there a method in the API to determine when a file transfer is complete on a specific client or is it best to check for a file write lock before attempting to play a file?
Thanks in advance for any response!