Send an FTP SITE command:
The ftp_site() function sends an FTP SITE command to the FTP server.
Note: SITE commands vary from server to server. They are useful for handling OS specific features such as file permissions and group membership.
Tip: To see what SITE commands are available, send the REMOTEHELP command using the ftp_raw() function.
Parameter | Description |
---|---|
ftp_connection | Required. Specifies the FTP connection to use |
command | Required. Specifies the SITE command (this parameter is not escaped) |
Return Value: | Returns TRUE on success or FALSE on failure |
---|---|
PHP Version: | 4+ |