wodFTPServer ActiveX Control - StateText Method
      
 

Description

Provides string expression of a state.


Return Type

A String value.  


Syntax

object.StateText (StateID)

The StateText Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodFTPD.
StateID Required. A StatesEnum enumeration, as described in settings. Represents some state.

Settings

The settings for StateID 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

StateText property will return text-description of a value given by State parameter. For a list of possible values, look here.