Topic Path: Symbol Reference > Classes > TIdFTP Class > TIdFTP Methods > IsExtSupported Method
ContentsIndexHome
PreviousUpNext
TIdFTP.IsExtSupported Method

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

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.