Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP ftp_rmdir() Function

PHP ftp_rmdir() Function


PHP FTP Reference Manual Complete PHP FTP Reference Manual


Definition and Usage

The ftp_rmdir() function removes a directory on the FTP server.

Returns TRUE on success, or FALSE on failure.

Syntax

ftp_rmdir(ftp_connection,dir)

Parameters Description
ftp_connection Required. Specifies the FTP connection to use.
dir Required. Specifies the directory to remove.

Example


PHP FTP Reference Manual Complete PHP FTP Reference Manual