If you have control over the sending service, you must implement this using token files. If the transmitting service is, for example, write the file ".finished" when this is done, you can wait until this file appears.
However, I suspect that you have no control over the software in the camera. There are several problems with detecting whether the camera completed the download, especially when connecting to the Internet slowly.
I think the best solution would be to check for changes in file size. Browse the folder and see if new files appear. Then, if the file size has not changed, for example. per minute you should be safe enough to download the file.
source share