>>>we pull text files into tables for processing nightly. The text files are downloaded by FTP from various machines. We need to be able to tell when the text files are closed by this process, because our processing can't work on these files until they are completely downloaded.
>>
>>If you know the file names, you could poll with a timer and FOPEN(), maybe?
>
>fopen doesn't care if the file is in use by another process (non-foxpro), does it? doesn't appear to...
AFAIK it does and tries exclusive access. fcreate() sure cares returning -1 and ferror() returns 5 - Access denied.
Cetin