added sftp connect function