|
XenevaOS
|
#include <Ftp4.h>

| BOOLEAN EFI_FTP4_CONFIG_DATA::Active |
Set it to TRUE to initiate an active data connection. Set it to FALSE to initiate a passive data connection.
| UINT16 EFI_FTP4_CONFIG_DATA::AltDataPort |
FTPv4 server port number of data connection. If it is zero, use (ServerPort - 1) by convention.
| UINT8 EFI_FTP4_CONFIG_DATA::FileStruct |
Defines the file structure in FTP used. 0x00 = file, 0x01 = record, 0x02 = page.
| EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::GatewayIp |
IP address of gateway if UseDefaultSetting is FALSE.
| UINT8* EFI_FTP4_CONFIG_DATA::Password |
Pointer to a ASCII string that contains password. The caller is responsible for freeing Password after GetModeData() is called.
| UINT8 EFI_FTP4_CONFIG_DATA::RepType |
A byte indicate the representation type. The right 4 bit is used for first parameter, the left 4 bit is use for second parameter
| EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::ServerIp |
IP address of FTPv4 server.
| UINT16 EFI_FTP4_CONFIG_DATA::ServerPort |
FTPv4 server port number of control connection, and the default value is 21 as convention.
| EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::StationIp |
IP address of station if UseDefaultSetting is FALSE.
| EFI_IPv4_ADDRESS EFI_FTP4_CONFIG_DATA::SubnetMask |
Subnet mask of station if UseDefaultSetting is FALSE.
| UINT8 EFI_FTP4_CONFIG_DATA::TransMode |
Defines the transifer mode used in FTP. 0x00 = stream, 0x01 = Block, 0x02 = Compressed.
| BOOLEAN EFI_FTP4_CONFIG_DATA::UseDefaultSetting |
Boolean value indicating if default network settting used.
| UINT8* EFI_FTP4_CONFIG_DATA::Username |
Pointer to a ASCII string that contains user name. The caller is responsible for freeing Username after GetModeData() is called.