Pop\Ftp\Ftp::rmdir PHP Méthode

rmdir() public méthode

Remove directory.
public rmdir ( string $dir ) : Ftp
$dir string
Résultat 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;
    }