Jul-03-2022, 09:32 AM
(This post was last modified: Jul-03-2022, 03:47 PM by saisankalpj.)
I am using pysftp module to connect to sftp server.After establishing the connection,I am trying to upload a file from my local to sftp server.For this ,I used
Sftp.put(localPath=“ C:/Users/documents/TestEDI.txt",remotePath=“ /Users/authentucation/")This gives me error like
FileNotFoundError: [Errno 2] No such file or directory: c:/Users/documents/TestEDI.txtBut i have the file present under documents folder.So this error comes when i run through pycharm and command prompt.Any suggestions on How to proceed further?