IPWorks SFTP 2020 Python Edition

Questions / Feedback?

rename_file Method

Change the name of RemoteFile to NewName .

Syntax

def rename_file(new_name: str) -> None: ...

Remarks

The name of remote file or folder specified by remote_file is changed to NewName. remote_file and NewName are either absolute paths 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) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 Python Edition - Version 20.0 [Build 8263]