PHP ftp_delete() May 14, 2012 Pramod T P It deletes a file on the FTP server Example <?php $fName=”test”; $ftpId = ftp_connect(‘ftp.phpcodez.com’); $login_result = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’); ftp_delete($ftpId, $fName) ftp_close($ftpId); ?>