Pop\Ftp\Ftp::delete PHP Метод

delete() публичный Метод

Delete file.
public delete ( string $file ) : Ftp
$file string
Результат Ftp
    public function delete($file)
    {
        if (!ftp_delete($this->conn, $file)) {
            throw new Exception('Error: There was an error removing the file ' . $file);
        }
        return $this;
    }