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

Implements execution of FTP commands not directly supported in this component.

function Quote(
    const ACommand: String
): SmallInt;
Parameters 
Description 
ACommand 
FTP command to be executed. 

SmallInt - Result code from the FTP operation.

Quote is a SmallInt function that implements execution of the literal FTP command specified in ACommand, and returns the result code from the operation. Quote is used to allow FTP commands that are site-specific or not implemented by the TIdFTP component. 

For example, Quote is used in TIdFTP to perform the FTP REST command. 

Quote executes the string literal in ACommand using the inherited SendCmd method.

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