TIdFTPDataStructure is an enumerated type that specifies the different representation allowed for the structure of a file using the FTP STRU command. TIdFTPDataStructure will affect both the transfer mode of a file and the interpretation and storage of the file. The valid representations allowed include the following:
- dsFile - The file has no internal structure, and consists of a continuous sequence of data bytes.
- dsRecord - The file is made up of sequential fixed length records.
- dsPage - The file consists of discontinuous independently indexed pages, sometimes referred to as "random access files".
TIdFTPDataStructure is used in TIdFTP.FileStructure to determine the coded character value to send to the FTP server using the STRU command.