I'm trying to connect to our FTP Secure (FTPES) and I keep getting this error:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond IP(box ip adrress):22
This is how my code looks like:
string host = "host_address";
int port = 22;
string username = "username";
string password = "password";
SftpClient client = new SftpClient(host, port, username, password);
When I connect using filezilla, there is no problem. I get the certificate agreement windows, I click OK and I'm in it.
What am I doing wrong here?
Please help and thanks in advance!