We had a program with a remote and host software. The remote would copy files to the host and after the copy it would rename them with a prefix. Ex. AR*,* The host would process all the "AR*.*" file as soon as they show up. The propagation time for a copy was unknown , but no problem with a rename.
Stan "Just when I learned all the answers, they changed all the questions." -Gertrude Stein -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Cully Sent: Sunday, April 29, 2007 10:30 AM To: [email protected] Subject: Re: Reading Log files Ed's solution is probably the one I would go with, but you might also write out a "closed" file per log file. If the log file is "abc123.log", then perhaps you could write out a "abc123.closed.txt" file when the log file is closed? -Kevin CULLY Technologies, LLC Sponsor of FoxForward 2007 foxforward.net Ed Leafe wrote: > You could try using FOPEN(). If the file is still being written, > FOPEN() will fail. [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/!&!AAAAAAAAAAAYAAAAAAAAAM/Q+j7SgTpMq/v8pEf9sSHCgAAAEAAAAI/xkaUA8QFCmkNF/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

