Subject: Connect to SFTP with password failed
Date: 2022-09-19 10:20:22
From: danies8
Source: connect-sftp-password-failed
----------------------------------------------------------------------

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);
            }

----------------------------------------------------------------------

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