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

ReplyCode

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support