ftp: how to prevent access to file currently being accessed?

Oliver Hardt hardt at u.arizona.edu
Thu Nov 21 15:38:01 EST 2002


hello:  thank you for this good idea -- i'll give this a try, since i 
have full control over the access.  best, olli.

11/21/02, Jan Schenkel wrote:

>--- Oliver Hardt <hardt at u.arizona.edu> wrote:
>
>Hi Oliver,
>
>If you control _all_ client access, you could create a
>file in the same directory on the server ; give it the
>same name as the file, but append a simple token like
>'.lock' ; then you can check for the presence of that
>file before allowing the user to edit it from your
>application.
>Of course this won't do anything if users access it
>from another application. Hope this helped
>nonetheless.



More information about the use-livecode mailing list