IPWorks SSH 2020 Python Edition

Questions / Feedback?

remove_directory Method

Remove a directory specified by DirName from an SFTP server.

Syntax

def remove_directory(dir_name: str) -> None: ...

Remarks

A directory with path specified by DirName is deleted on the SFTP server. DirName is either an absolute path on the server, or a path relative to remote_path.

If there is no SSH session in place, one is automatically created by the component first.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Python Edition - Version 20.0 [Build 8501]