Unable to Authenticate SFTP

0
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
edited 9/2/2022 1:11:34 PM
asked 9/2/2022 12:46:04 PM
  Hi Team, any update on this please. srikanth.hnk@gmail.com 9/5/2022 10:03:05 AM
add a comment

1 Answers

0
Hi srikanth.hnk@gmail.com, Please check documentation [SFTP ][1] Method is still available [1]: https://doc.componentpro.com/ComponentPro-Sftp/AtAGlance
 
answered 9/5/2022 1:57:01 PM
  Hi Martin, Thanks for the reply. We used the same code sample. While clling Connect() we didnt get any error. But when we tried to call the authenticate method we got the Authentication failed Invalid username/password error. srikanth.hnk@gmail.com 9/5/2022 4:56:17 PM
  Hi Martin, any update on this please. if this works out we would like to upgrade our existing license. srikanth.hnk@gmail.com 9/12/2022 9:35:45 AM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp or ask your own question.