Skip to content

Command delete_dir doesn't work #6

@kinesra75

Description

@kinesra75

I just replace :

$result = @ssh2_sftp_rmdir($this->conn_id, $filepath);

by

$sftp = $this->conn_sftp;
$result = rmdir("ssh2.sftp://$sftp$filepath");

to make it work, I don't know why ssh2_sftp_rmdir doesn't do the job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions