diff --git a/opt/ahenk/base/file/ssh_file_transfer.py b/opt/ahenk/base/file/ssh_file_transfer.py index 5a34146..3b05582 100644 --- a/opt/ahenk/base/file/ssh_file_transfer.py +++ b/opt/ahenk/base/file/ssh_file_transfer.py @@ -40,7 +40,8 @@ class Ssh(object): try: sftp.chdir(self.target_path) # Test if remote_path exists except IOError: - sftp.mkdir() # Create remote_path + print(self.target_path) + sftp.mkdir(self.target_path) # Create remote_path sftp.chdir(self.target_path) sftp.put(local_path, self.target_path + md5)