FTP server application data format for the data connection
The FTP server establishes a data connection just before a file transfer occurs. The connection is closed when the file transfer is complete. Table 1 shows the format of the application data set by the server for its data connection.
| Bytes | Description |
|---|---|
| 1 - 8 | The component ID of FTP, EZAFTP0S |
| 9 | Blank |
| 10 | The FTP connection:
|
| 11 | Blank |
| 12 - 20 | The user name of the FTP client, padded to the right with blanks. This field might be blank if the user is not logged into 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
and the handshake has completed; blank otherwise (see Note):
|
| 26, 27 | The security cipher used if the security method is TLS or AT-TLS and the handshake has completed; blank otherwise (see Note). If the value is 4X, the security cipher must be obtained from offset 33. |
| 28 | Blank |
| 29 | Data connection type:
|
| 30 | Data transfer direction:
|
| 31 | File type:
|
| 32 | File location:
|
| 33 - 36 | The security cipher that is used if the security method is TLS that is managed by FTP or AT-TLS; blank otherwise (see Note). |
| 37 - 40 | Reserved blank |
| Note: This value is negotiated
during the TLS handshake. Another TLS handshake can occur at any
time. When the FTP server next updates the APPLDATA, this value might
change.
|
|