SFTP Connection error : connection forcibly closed (wodFtpDLX / wodFtpDLX.NET)
Hello,
I am attempting to connect to two different SFTP sites via a SOCKS 5 Proxy using the FtpDLX component. Both represent the exact same use case, but are different sites located in completely different networks.
I'm able to connect and post files to the first one using the code below, but the second one gives me the error "An existing connection was forcibly closed by the remote host".
Is there any more info the FtpDLX component can give me that will help me pin down what the issues is?
Here's my code -
<code>
FtpDLX ftp = new FtpDLX();
ftp.ProxyType = WeOnlyDo.Net.Sockets.ProxyTypes.ProxySocks5;
ftp.ProxyHostname = "xxx.xxx.com";
ftp.ProxyPort = 1080;
ftp.Hostname = "xxx.xxx.xxx.xxx";
ftp.Protocol = Protocols.SFTP;
ftp.Port = 22;
ftp.Login = "xxxxxx";
ftp.Password = "xxxxx";
ftp.Connect();
</code>