how to tell if file copy is complete

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
cardeiro
Posts: 31
Joined: March 27th, 2006, 2:03 pm
Location: philadelphia, PA
Contact:

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
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Check the file length every couple of millisecs and when it stops changing you can assume it's done..
Post Reply