Easy Tutorial
❮ Func Array Sort Func Filesystem Copy ❯

PHP ftp_delete() Function



Definition and Usage

The ftp_delete() function deletes a file on the FTP server.

If successful, the function returns TRUE. If it fails, it returns FALSE and a warning.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
file Required. Specifies the path of the file to delete.

Example

The above code will output:


❮ Func Array Sort Func Filesystem Copy ❯