Indy 9
TIdFTPDataStructure
See Also, Unit: IdFTPCommon
Specifies the storage type for a file on the FTP server.
TIdFTPDataStructure = (dsFile, dsRecord, dsPage);
Unit
IdFTPCommon
Description
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.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.