Test error case for sftp get.