Using SITE and QUOTE Commands in FTP
FTP servers often support additional commands beyond the standard set, including site-specific commands. These commands can be sent using the FTP control's Command property.
The Command property allows you to send custom commands directly to the server, similar to the QUOTE command in command-line FTP clients. To execute site-specific functionality, you can use the SITE command. A list of supported site-specific commands can typically be retrieved by issuing the HELP SITE command.
For example, the command QUOTE SITE somehost.domain can be sent as follows:
FTP.Command := "SITE somehost.domain";
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.