SFTP file lock mechanism

SFTP protocol supports locking since version 5. See the specification. You didn’t specify, what SFTP server are you using. So I’m assuming the most widespread one, the OpenSSH. The OpenSSH supports SFTP version 3 only, so it does not support locking. Anyway, even if your server supported file locking, most SFTP clients/libraries won’t support SFTP … Read more