Message 1 of 4
Checking for Read Only - Is the file already open?
Not applicable
05-15-2001
02:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
You can check the attributes of a file using the getattr function. But what
if the file does not have any attributes set, and is open by another user?
The getattr function will not return 'read only' because that attribute has
not been set.
How do you check to see if the file is open by another user?
Thx.
Rob Webb
if the file does not have any attributes set, and is open by another user?
The getattr function will not return 'read only' because that attribute has
not been set.
How do you check to see if the file is open by another user?
Thx.
Rob Webb