cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Locking files, A fun but useless game

From: Jamie Lokier <jamie_at_shareable.org>
Date: Sat, 19 Jul 2008 17:22:09 +0100

Joe N. wrote:
> Far as I know, there is nothing on the client side that you can do to
> lock or otherwise hold files through FTP, SCP, or HTTP; it is entirely
> up to the server (and I've never seen a server that locks the files to
> prevent them from being moved.)

WebDAV over HTTP provides a some kind of locking mechanism, but you'd
need a server which supports it, and most implementations probably
only lock against concurrent WebDAV requests, not concurrently moving
the file by another means.

-- Jamie
Received on 2008-07-19