Easy Tutorial
❮ Func Date Timezone Abbreviations List Php Imagecharup ❯

PHP ftp_site() Function



Definition and Usage

The ftp_site() function sends a SITE command to the FTP server.

SITE commands are not standardized and vary among different servers. They are useful for handling tasks related to file permissions or group relationships.

The function returns TRUE on success or FALSE and a warning on failure.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
command Required. Specifies the SITE command to send to the FTP server.

Tips and Notes

Tip: To see which commands are available, send the REMOTEHELP command using the ftp_raw() function.


Example


❮ Func Date Timezone Abbreviations List Php Imagecharup ❯