forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Detecting if file is in use

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Garry Harriman
Newbie


Joined: 13 Feb 2004
Posts: 3

PostPosted: Sat Feb 21, 2004 9:24 pm    Post subject: Detecting if file is in use Reply with quote

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
View user's profile Send private message Send e-mail
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Sat Feb 21, 2004 10:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Garry Harriman
Newbie


Joined: 13 Feb 2004
Posts: 3

PostPosted: Sat Feb 21, 2004 10:43 pm    Post subject: Reply with quote

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. Wink Embarassed


Last edited by Garry Harriman on Sun Feb 22, 2004 12:15 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Feb 21, 2004 10:54 pm    Post subject: Reply with quote

It's okay - everybody makes mistakes Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Sun Feb 22, 2004 12:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group