Description
-
Specifies action to perform in the event.
Property type
-
A FtpActions
enumeration.
Syntax
-
object.LastAction = value
The LastAction Property syntax has these parts:
| object |
An expression
evaluating to an object of type FtpUser. |
- Settings
-
The settings for LastAction are:
 |
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. |
Remarks
-
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.
|