0

Is there a mechanism by which I can scan for a new folder in a particular location - and determine if the new folder is fully created or if files are still being copied into it.

Essentially, is there a folder property that indicates if its contents have been fully copied into it or the copying is currently going on?

One mechanism I thought was to monitor the folder size in fixed time intervals and if it changes it means that the copying is going on - however this method might not be foolproof.

EDIT: To be more specific, I just want to know if there is a flag or lock that is set to a folder that indicates if its contents are being copied into it at that instant.

4

0 回答 0