With SFtpClient. I need a connection mix PrivateConnectionInfo and password in sftpClient. I have a method with host, port, username and password and another method with host, port, username and PrivatekeyFile. But I haven´t a method with both password and PrivateKeyFile.
I have tried with PasswordConnectionInfo but I can´t attach to SftpClient when it attached the PrivateKeyFile.
How can I solve this inconvenient and attach both password FTP and PrivateKeyFile.
I have tried with PasswordConnectionInfo but I can´t attach to SftpClient when it attached the PrivateKeyFile.
How can I solve this inconvenient and attach both password FTP and PrivateKeyFile.