Subject: Unable to Authenticate SFTP Date: 2022-09-02 13:11:34 From: srikanth.hnk@gmail.com Source: unable-authenticate-sftp ---------------------------------------------------------------------- Hi Team, I have just downloaded your trial version. We are using this from the c# .Net application. When i use your ComponentPro.SFTP dll i am able to connect to the SFTP but while using the .Authenticate(usernmae,password) . its saying that invalid userName/password. When i check the object of the sftpClient i have created its userName property is set to null. In the previous version there was an option to set the userName but in the Latest version he usernName property is set to Readonly. Can you please help me on this. Below is the code we have used. **Sftp m_sftpClient = new Sftp(); m_sftpClient.Config.KeyExchangeAlgorithms = SecureShellKeyExchangeAlgorithm.Any; m_sftpClient.Connect("sftpHostName", portNumber); m_sftpClient.Authenticate("sftpuserName", "sftppassword"); ** Thanks Srikanth G ---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index