Re: File test
- From: "Armin Zingler" <az.nospam@xxxxxxxxxx>
- Date: Thu, 2 Mar 2006 21:00:29 +0100
"Adrian" <Adrian@xxxxxxxxxxxxxxxxxxxx> schrieb
Hi,
Before I open a file to read it etc how can I test to ensure it
not currently in use by another process?
No. If it was possible, it wouldn't make sense, because, between checking it
and, if finding out it is not in use anymore, and opening it, the file could
be opened again by another process.
the scenario is that I'm watch for a file to be created once it is I
read its contents and depending what they are I move it! however I'm
getting error when I'm am reading the file before its is fully
written ( the writing is slow as its over a WAN!) so I want to loop
until the file is fully created/ written.
Armin
.
- References:
- File test
- From: Adrian
- File test
- Prev by Date: Re: Monitor resolution independence
- Next by Date: Re: HTTPWebRequest
- Previous by thread: File test
- Next by thread: Re: File test
- Index(es):
Relevant Pages
|