Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.Site Method

Sends an FTP server site command.

Pascal
procedure Site(
    const ACommand: string
);
Parameters 
Description 
ACommand 
Command
Server site command to perform. 

Site is a procedure used to send a site-specific FTP command directly to the FTP server. Site is used by an FTP server to provide services specific to the host system that are essential to file transfer, but not sufficiently universal to be included as commands in the FTP protocol. 

Site sends the FTP SITE command and the argument specified in ACommand to the server. The server response can be accessed using the LastCmdResult property. 

Use the FTP HELP SITE command to discover the commands and syntax requirements for the specific FTP server.

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.