Home » U++ Library support » U++ Core » How to check, if a file is locked by another application?
How to check, if a file is locked by another application? [message #7245] |
Tue, 19 December 2006 13:04 |
WebChaot
Messages: 53 Registered: September 2006 Location: Austria, Vienna
|
Member |
|
|
Hi all!
I need to read in some text files and parse them. These text files are transferred by ftp.
For reading them I found two solutions:
LoadFile(...)
and
FileIn in(...)
if (in)
...
But I have to prevent my service to read files, which are not finished (to transfer). So what happens with "LoadFile" or with "in" when file is still in progress? Is there a way to check, whether a file is "locked" by another application or not?
Thanks in advance,
WebChaot.
|
|
|
|
Goto Forum:
Current Time: Mon May 06 05:32:16 CEST 2024
Total time taken to generate the page: 0.02577 seconds
|