Open bgd77 opened 4 years ago
I'm debugging some similar issues.
What do you get if you replace
sftpclient.put("temp.txt", "/a/test.txt")
by sftpclient.put("temp.txt", "/test.txt")
i.e. put it in an already existing folder?
The issue you have seems to be that you're trying to upload to a folder that does not exist yet
Hi, sorry for the late response. I have tried as you said and I still get the same error.
I'm having some problems using put on sftpclient, I always get an exception and it does not work for me.
In the most simple example I have pytest and pytest-sftpserver installed in a virtual environment (I have tried with both python 2.7 and python 3.8).
Using this test:
I get this error:
I don't understand what is wrong. Any help would be greatly appreciated.