Pop\Ftp\Ftp::rmdir PHP 메소드

rmdir() 공개 메소드

Remove directory.
public rmdir ( string $dir ) : Ftp
$dir string
리턴 Ftp
    public function rmdir($dir)
    {
        if (!ftp_mkdir($this->conn, $dir)) {
            throw new Exception('Error: There was an error removing the directory ' . $dir);
        }
        return $this;
    }