Open itssimple opened 7 years ago
I added new ConnectionInfo constractor where you can specify client IP to be used in case of multiple IP address.
You can use it like this:
new ConnectionInfo(host, username, password, clientIP)
where clientIP is IPAddress type.
Please get latest version and see if it works for you.
Thanks, Oleg
I had to revert this change as it introduced regressions, and I'm pretty sure it did not provide the requested behavior.
@itssimple Can you test and provide feedback once I commit a proposal?
Is there a solution in sight? The change of Dec 2016 seems to be solving the problem, only using host[0].
If you use the SftpClient on for example a webserver with multiple IP addresses, we need to be able to set which IP-address to connect from.
This would help us connect to SFTP-servers with limited IP-access.