EFI_FTP4_CONFIG_DATA Struct Reference


Data Fields

UINT8Username
UINT8Password
BOOLEAN Active
BOOLEAN UseDefaultSetting
EFI_IPv4_ADDRESS StationIp
EFI_IPv4_ADDRESS SubnetMask
EFI_IPv4_ADDRESS GatewayIp
EFI_IPv4_ADDRESS ServerIp
UINT16 ServerPort
UINT16 AltDataPort
UINT8 RepType
UINT8 FileStruct
UINT8 TransMode

Detailed Description

EFI_FTP4_CONFIG_DATA

Field Documentation

Set it to TRUE to initiate an active data connection. Set it to FALSE to initiate a passive data connection.

FTPv4 server port number of data connection. If it is zero, use (ServerPort - 1) by convention.

Defines the file structure in FTP used. 0x00 = file, 0x01 = record, 0x02 = page.

IP address of gateway if UseDefaultSetting is FALSE.

Pointer to a ASCII string that contains password. The caller is responsible for freeing Password after GetModeData() is called.

A byte indicate the representation type. The right 4 bit is used for first parameter, the left 4 bit is use for second parameter

  • For the first parameter, 0x0 = image, 0x1 = EBCDIC, 0x2 = ASCII, 0x3 = local
  • For the second parameter, 0x0 = Non-print, 0x1 = Telnet format effectors, 0x2 = Carriage Control.
  • If it is a local type, the second parameter is the local byte byte size.
  • If it is a image type, the second parameter is undefined.

IP address of FTPv4 server.

FTPv4 server port number of control connection, and the default value is 21 as convention.

IP address of station if UseDefaultSetting is FALSE.

Subnet mask of station if UseDefaultSetting is FALSE.

Defines the transifer mode used in FTP. 0x00 = stream, 0x01 = Block, 0x02 = Compressed.

Boolean value indicating if default network settting used.

Pointer to a ASCII string that contains user name. The caller is responsible for freeing Username after GetModeData() is called.


Generated on Wed Sep 23 16:24:27 2015 for MdePkg[ALL] by  doxygen 1.5.7.1