Func Ftp Rmdir
# PHP ftp_rmdir() Function
* * Complete PHP FTP Reference](#)
* * *
## Definition and Usage
The ftp_rmdir() function removes a directory from an FTP server.
If successful, this function returns TRUE. If it fails, it returns FALSE.
## Syntax
ftp_rmdir(ftp_connection,dir)
| Parameter | Description |
| :--- | :--- |
| ftp_connection | Required. Specifies the FTP connection to use. |
| dir | Required. Specifies the directory to be removed. |
* * *
## Example
* * Complete PHP FTP Reference](#)
YouTip