| View previous topic :: View next topic |
| Author |
Message |
Garry Harriman Newbie

Joined: 13 Feb 2004 Posts: 3
|
Posted: Sat Feb 21, 2004 9:24 pm Post subject: Detecting if file is in use |
|
|
I would like to know if a file could be detected that it was open or closed.
I am using a text file as a database file in VDS 5. If the file is already open, it needs to block anybody else from opening it until the user has finished and closed the file. Thanks Garry Harriman |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Sat Feb 21, 2004 10:26 pm Post subject: |
|
|
| Garry please post topics in a seperate thread when they are not within the same topic subject as the original post. But in regards to your post take a look at thread: http://forum.vdsworld.com/viewtopic.php?t=2484 and in particular to Mac's post in regards to VDSUG - it will allow you to 'lock' the file so others cannot access it in anyway while the file is opened in read/write mode. |
|
| Back to top |
|
 |
Garry Harriman Newbie

Joined: 13 Feb 2004 Posts: 3
|
Posted: Sat Feb 21, 2004 10:43 pm Post subject: |
|
|
| PGWARE wrote: | | Garry please post topics in a seperate thread when they are not within the same topic subject as the original post. But in regards to your post take a look at thread: http://forum.vdsworld.com/viewtopic.php?t=2484 and in particular to Mac's post in regards to VDSUG - it will allow you to 'lock' the file so others cannot access it in anyway while the file is opened in read/write mode. |
Thanks I will give VDSUG a try..Sorry about posting in wrong thread..My fist post to the forum. 
Last edited by Garry Harriman on Sun Feb 22, 2004 12:15 am; edited 1 time in total |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Feb 21, 2004 10:54 pm Post subject: |
|
|
It's okay - everybody makes mistakes  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Sun Feb 22, 2004 12:53 am Post subject: |
|
|
| No problem Garry - wasn't trying to yell at you; but inform you of forum etiquetee. You'll usually get better/faster answers to your questions as well when posting a new topic in regards to your questions. |
|
| Back to top |
|
 |
|