Relative Content

Tag Archive for pythonparamiko

Trouble moving directory with paramiko

remotepath = “/incoming/encoura” localpath = (r”C:UserssdgibbsDocumentsFolder1″) sftp.put(localpath, remotepath) The code above illustrates me trying to move the directory to the SFTP after a successful connection. The terminal returns with PermissionError: [Errno 13] Permission denied. I received the same even after setting the folder permisisons to read and write. remotepath = “/incoming/encoura” localpath = (r”C:UserssdgibbsDocumentsFolder1″) os.chmod(r”C:UserssdgibbsDocumentsFolder1″, […]