Move files from one directory to another with Paramiko
问题 I have a script that creates and tmp directory on an SFTP server and then puts files in said /tmp once the transfer is complete however I need to move the files from /tmp back one directory to root / . Use Paramiko how would I move the files from one remote directory to another? Step guide: Local files -----> Remote Temporary Dir ----> Remote root Dir Code below if needed: #!/usr/bin/python # -------------------------------------------------------------------- #import libraries # ------------