FTP client application data format for the control connection
An FTP control connection is established when an FTP client
logs into an FTP server. Table 1 shows the format of the application data set by the client for its
control connection socket.
Bytes | Description |
---|---|
1 - 8 | The component ID of FTP, EZAFTP0C |
9 | Blank |
10 | The FTP connection:
|
11 | Blank |
12 - 20 | The user name of the FTP client, padded on the right with blanks. This field might be blank if the user is not logged in to the FTP server. |
21 | Blank |
22 | Security protection for the connection:
|
23 | The security method used for the FTP connection
if security protection is either Private or Safe; blank otherwise.
|
24, 25 | The security level if security method is TLS;
blank otherwise (see Note).
|
26, 27 | The security cipher used if the security method is TLS managed by FTP or AT-TLS; blank otherwise (see Note). If the value is 4X, the security cipher must be obtained from offset 30. |
28 | Blank |
29 | SOCKS server connection:
|
30 - 33 | The four byte security cipher that is used if the security method is TLS that is managed by FTP or AT-TLS; blank otherwise (see Note). |
34 - 40 | Reserved blank |
Note: This value is negotiated
during the TLS handshake. Another TLS handshake can occur at any
time. The value in this record should be considered a snapshot of
the current value at the time the FTP client set application data.
|