public function delete($remote_file = null)
    {
        if (\ftp_delete($this->_stream, $remote_file)) {
            return true;
        }

        $this->error = 'Failed to delete file "'.$remote_file.'"';

        return false;
    }
public function delete($remote_file = null)
    {
        if (\ftp_delete($this->_stream, $remote_file)) {
            return true;
        }

        $this->error = 'Failed to delete file "'.$remote_file.'"';

        return false;
    }
public function delete ( $ remote_file = null ) { if ( \ ftp_delete ( $ this -> _stream , $ remote_file ) ) { return true ; } $ this -> error = 'Failed to delete file "' . $ remote_file . '"' ; return false ; }
Delete file on FTP server

@param string $remote_file

@return bool
Delete file on FTP server