Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.IsExtSupported Method

Determine if an FTP command is a supported FTP extension command for the FTP server.

Pascal
function IsExtSupported(
    const ACmd: String
): Boolean;
Parameters 
Description 
ACmd 
FTP command to locate in the server Capabilities

Boolean - True when the command is supported.

IsExtSupported is a Boolean function used to determine if the FTP command specified in ACmd is a supported FTP extension command for the FTP server implementation. 

IsExtSupported compares the value in ACmd to the individual lines of text found in the Capabilities property. The text comparision is not case sensitive, so the values "MDTM", "MdTm", and "mdtm" are all considered equivalent. 

Values in the Capabilities property are stored when the FTP FEAT command is executed during execution of the Login method. 

IsExtSupported returns True when the value in ACmd appears in the lines of text found in the Capabilities property.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.