Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.Quote Method

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

Pascal
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.

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.