Internet Direct (Indy) Version 9.0.2 Beta
TIdFTP.FileStructure
Sends the data storage format required to the FTP server.

procedure FileStructure(AStructure: TIdFTPDataStructure);
Parameters
AStructure: TIdFTPDataStructure
Data structure for storage of file(s).

Description
FileStructure is a procedure that informs the FTP server of the intended storage format for subsequent FTP commands that transfer data. FileStructure send the FTP STRU command verb and the character representation of the TIdFTPDataStructure value specified in AStructure.

Note: FileStructure has no effect if the FTP client is not Connected.

Use StructureMount to mount a different file system data structure without altering login or account information.

Use TransferType to indicate if the file transfer requires Binary or ASCII representation of data.

Use TransferMode to indicate whether data transfers will use Block, Compressed, or Stream data handling.