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
LastAction property
Specifies action to perform in the event.
Type
A FtpActions enumeration.Syntax
- Basic
object.LastAction = value
The LastAction(object) syntax has these parts:
The LastAction(object) syntax has these parts:
object | An expression evaluating to an object of type FtpUser. |
Remarks
SettingsThe settings for value are:
Constant | Value | Description |
---|---|---|
Deny | 0 | Deny execution of the action. |
Allow | 1 | Allow to execute action. |
SilentDeny | 2 | Silently deny execution of the action. |
SilentAllow | 3 | Silently allow to execute action. |
LastAction property should be used only inside events, in environments (such as Delphi 6) where event arguments cannot return value back to wodFTPServer. Typical example in Delphi 6 is Connected event - you can try to set Action := Allow but wodFTPServer still receives Deny value. It's because your environment doesn't dispatch changed Action argument value back to wodFTPServer.
When this happens, you can use LastAction property instead. When this property is used, value of Action argument is ignored in wodFTPServer, and LastAction property value is used instead.