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;
    }