I've created a folder on my desktop and trying to put the files i've created into a remote server. my result kept getting an OSerror: Failure. please see my code below:
import paramiko
ssh_client=paramiko.SSHClient()
ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh_client.connect(hostname='sftp-integration.com',port=22,username='',password='')
#uploading file from local to remote
sftp_client=ssh_client.open_sftp()
sftp_client.put(r'C:\David Han\Desktop\Inspectorio_Folder\purchaseorders.csv','upload/po')
print('file sent')