How to know if file download is completed?

Hi. This is my first message in forum.
I have a directory and I am monitoring for any changes with new files. When a new file are detected, I need to know when this file are COMPLETELLY downloaded for your size, sure, but, how I make this?
Thank you.
Topic archived. No new replies allowed.