Documentation » Using WinSCP » Basic Tasks »
To lock files selected in a remote directory, go to Files > Locking > Lock. To unlock the files, use Unlock command therein. Locking is supported with WebDAV servers only.1
The locked files are marked with Locked keyword or 🔒 (lock icon) in Rights column of remote file panel, together with lock owner name (if known).
Files are locked indefinitely (i.e. until explicitly unlocked). Directories are locked recursively, including all contained files and subdirectories.
- WebDAV Class 2.Back