ftp_delete

(PHP 3>= 3.0.13, PHP 4 >= 4.0b4)

ftp_delete -- Deletes a file on the ftp server.

Description

int ftp_delete (int ftp_stream, string path)

Returns true on success, false on error.

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