Properties can be set only the connection is closed between the client and the FTP server. The following properties are associated
with the HfFtp class.
ClusterAddress
This property indicates the address of the cluster server.
ClusterHttpPort
This property indicates the HTTP port number of the cluster server.
Type
String
Attribute
Read/Write
ClusterListeningPort
This property indicates listening port of the cluster server.
Type
Integer
Attribute
Read/Write
ConnectionType
Sets or gets the connection type the user wants to establish with the HostFront server. (See the HF_CNX_TYPE structure definition).
Note that the TCP/IP connection type is not supported in the current version.
Type
HF_CNX_TYPE
Attribute
Read/Write
Emulation
Sets or gets the emulation type (5250 or 3270) the user wants to use with the HostFront server.
Type
HF_FTP_EMUL_TYPE
Attribute
Read/Write
IsConnected
Indicates whether the connection is established between the client and the FTP server (through HostFront server).
Type
Public System.Booleanean
Attribute
Read only
IsEncrypted
Indicates whether the data exchange between the HostFront server and the client is encrypted or not (regardless of SLL). Only
a HostFront administrator can enable or disable the encryption. The encryption uses a 128-bit proprietary algorithm.
Type
Public System.Booleanean
Attribute
Read only
ServerVersion
Returns the version of the HostFront server. For example, a value of 123 means version 1.2.3.
Type
Short
Attribute
Read only
SSLEnabled
Indicates whether the connection is secure using SSL or not. If TRUE, the default HTTP port will be 443. If FALSE, the connection
is a regular HTTP connection.
Type
Public System.Booleanean
Attribute
Read/Write
Synchronous
Indicates whether the Upload and Download methods are synchronous or not. If Synchronous is set to TRUE, these methods return
to the caller only when the file transfer has ended (normally or abnormally).
If Synchronous is set to TRUE, the methods return immediately and the client is notified of the end of the file transfer through
the events mechanism (See Events).
Type
Public System.Booleanean
Attribute
Read/Write
TransferType
Sets or gets the file transfer type (either binary or ascii). (See the HF_FTP_XFER_TYPE structure definition).
Type
HF_FTP_XFER_TYPE
Attribute
Read/Write