Connect to SFTP with password failed

0
Hi, I tried to connect to SFTP with password and connection failed ,why ? try { using (Sftp client = new Sftp()) { //Set the licence Key ComponentPro.Licensing.Common.LicenseManager.SetLicenseKey(ConstantsHelper.ComponentProLicenseKey); //Connect to the SFTP server. client.Connect(serverName, serverPort);//failed here code not continue // Authenticate. client.Authenticate(userName, password); } } catch (Exception ex) { _logger.Error("Sftp with password is not valid", ex); }
 
asked 9/19/2022 10:20:22 AM
add a comment

1 Answers

0
Hi danies8, You need to create log and check the reason. [SFTP Log Listener][1] Thanks for contacting us. [1]: https://doc.componentpro.com/ComponentPro-Sftp/writing-log-entries-to-a-log-listener
 
answered 9/21/2022 6:57:33 AM
add a comment

Your Answer

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