A StatesEnum
enumeration, as described in settings. Represents new
state.
OldState
A StatesEnum
enumeration, as described in settings. Represents
previous state.
Settings
The settings for NewState are:
Constant
Value
Description
Disconnected
0
Disconnected from
server.
Connecting
1
Connecting to server.
Encrypting
2
Initializing secure
connection.
LogonInProgress
3
Receiving authentication
data.
Connected
4
Connected - idle.
SettingDataChannel
5
Setting data channel.
ConnectingDataChannel
6
Connecting data
channel.
Listing
17
Listing directory
contents.
Downloading
18
Downloading file from the
server.
Uploading
19
Uploading file to the
server.
The settings for OldState are:
Constant
Value
Description
Disconnected
0
Disconnected from
server.
Connecting
1
Connecting to server.
Encrypting
2
Initializing secure
connection.
LogonInProgress
3
Receiving authentication
data.
Connected
4
Connected - idle.
SettingDataChannel
5
Setting data channel.
ConnectingDataChannel
6
Connecting data
channel.
Listing
17
Listing directory
contents.
Downloading
18
Downloading file from the
server.
Uploading
19
Uploading file to the
server.
Remarks
NOTE: This method is called only if you
implemented IwodFTPDNotify interface in your application, and
wodFTPD.Notification
property has received reference to instance of your implementation.
StateChanged notification method is called each time
user's state changes. Depending on values provided by
this notification, you can track down user's behavior
on your system, deny access to it, or just store it locally
for debugging purposes.