Complete PHP FTP Reference
The ftp_site() function sends a SITE command to the FTP server.
SITE commands are not standardized, and are different from server to server. They are useful for handling such things as file permissions and group membership.
This function returns TRUE on success and FALSE and a warning on failure.
| Parameter | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use |
| command | Required. Specifies the SITE command to send to the FTP server |
Tip: To see what commands are available, send the REMOTEHELP command using the ftp_raw() function.
Complete PHP FTP Reference
Your message has been sent to W3Schools.