function SendCmd(const Command: string; const AllowedResponses: array of integer): integer;
Description
The SendCmd method sends FTP command specified in the Command parameter to an FTP server.
You can specify a list of available response codes in the AllowedResponses parameter. If a server returns a response code not included in this list, the method will generate a corresponding exception.
The response code received during execution of this command request is contained in the ReplyCode property.
See Also