Internet Direct (Indy) Version 9.0.1 Beta
TIdFTP.Status
Implements the FTP STAT command.

procedure Status(var AStatusList: TStringList);
Parameters
var AStatusList: TStringList
Optional Status response lines from the server.

Description
Status is a procedure that implements the FTP STAT command, and returns a listing containing the status of the FTP operation in progress including transfer parameters and connection status. Status peforms similiar to the List method, but receives response data using the Control channel instead of the Data channel.

Status will populate the DirectoryListing collection after receiving the response stream from the server, or clear DirectoryListing when the nmber of response lines is zero (0).

AStatusList will contain the response from the server if an exception is raised during the method.