Improve SFTP error message

This pull request adds contextual message on SFTP error and fixes some.