Topic Path: Symbol Reference > Classes > TIdFTP Class > TIdFTP Methods > Site Method
TIdFTP.Site Method

Sends an FTP server site command.

procedure Site(
    const ACommand: string
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.

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