ftp_delete

ftp_delete

(PHP 4, PHP 5, PHP 7)

ftp_deleteDeletes a file on the FTP server

Description

bool ftp_delete ( resource $ftp_stream , string $path )

ftp_delete() deletes the file specified by path from the FTP server.

Parameters

ftp_stream

The link identifier of the FTP connection.

path

The file