Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodFTPD
- Methods
- Properties
- Authentication
- BindIP
- BindIPType
- Certificate
- DirFormat
- Encryption
- EncryptionList
- FileLocking
- FIPS
- ForceUTF8
- GoodbyeMessage
- GreetingMessage
- HMacList
- HostKeyList
- KeyExchangeList
- MaxDataPort
- MinDataPort
- MonitorTransfers
- MyHostname
- MyIP
- Notification
- PasvPort
- Port
- Protocol
- Secure
- ServerName
- SFTPVersion
- Status
- StrictDataIP
- Threads
- Timeout
- UseIPv6
- Users
- Version
- VirtualFiles
- VirtualFolders
- Events
- wodFTPDNotify
- FtpUser
- FtpUsers
- VirtualFile
- VirtualFiles
- VirtualFolder
- VirtualFolders
- How to get support?
- Technical information
- Fast notifications interface
- Error list
FileLocking property
Determine if files are locked during transfers for this user.
Type
A FileLockings enumeration.Syntax
- Basic
object.FileLocking [= value]
The FileLocking(object,value) syntax has these parts:
The FileLocking(object,value) syntax has these parts:
object | An expression evaluating to an object of type FtpUser. |
value | An FileLockings enumeration, as described in settings. |
Remarks
Value of this property is copied from wodFTPServer.FileLocking property each time new user connects to the server, and defines behavior only for current user.You can specify FileLockNone (default value) in which case wodFTPServer will not lock files for this user, and users can access them simultaneously, uploading and downloading at the same time.
If FileLockUploads is set, then only one upload to specific file can be made, and wodFTPServer will prevent further writes to the file until upload finishes. However, other users can download file at the same time.
When FileLockAll is set, then only one upload or only one download can access the file. Any further attempt to access the file by any user will return an error, until current transfer completes.
Members:
Constant | Value | Description |
---|---|---|
FileLockNone | 0 | No file locking. |
FileLockUploads | 1 | File is locked during upload. |
FileLockAll | 3 | File is locked during any transfer. |