Page 1 of 1

how to tell if file copy is complete

Posted: September 19th, 2007, 7:40 am
by cardeiro
I am working on a script that will check a folder for items. If an item is there it will import it into a project and render it.

The only problem I am running into is how to make the script know if the file is complete, or still being copied into the directory.

any ideas?

Mike Cardeiro

Posted: September 19th, 2007, 9:09 am
by lloydalvarez
Check the file length every couple of millisecs and when it stops changing you can assume it's done..