Libssh2 sftp rmdir ex
From Libssh2
int libssh2_sftp_rmdir_ex((LIBSSH2_SFTP *sftp, char *path, int path_len); #define libssh2_sftp_rmdir(sftp, path) \ libssh2_sftp_rmdir_ex((sftp), (path), strlen(path))
[edit]
About
Remove a directory from the remote file system.
[edit]
Parameters
- sftp
- SFTP instance as returned by libssh2_sftp_init().
- path / path_len
- Full path of the existing directory to remove.
[edit]
Returns
- On Success: 0
- On Failure: -1
