I'd like to catch nicely the error when "No hostkey for host *** is found" and give an appropriate message to the end user. I tried this: import pysftp, paramik
I have my NAS server located and i am able to get/upload files on it. Now i have suituation where i need to read .png files location from server and pass it on
We can write a simple get like this: import pysftp hostname = "somehost" user = "bob" password = "123456" filename = 'somefile.txt' with pysftp.Conn