Connect to custom port in explicit TLS/SSL mode with Rebex FTP

0 votes
asked Oct 24, 2013 by Rebex KB (8,190 points)
edited Oct 24, 2013

Can we use explicit SSL mode for custom ports (e.g. port = 29 in my case)? Can you send me TLS/SSL configuration steps at the server?

Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered Oct 24, 2013 by Tomas Knopp (58,890 points)
edited Oct 24, 2013
 
Best answer

Yes, you can use Rebex Ftp client in explicit mode with custom ports, just do:

int customPort = 29;
client.Connect("server", customPort, SslMode.Explicit);

The Rebex Ftp client will work if server will be properly configured to use the special port. Please note that usually port 21 is denoted for FTP with explicit (or none) SSL/TLS mode.

I am sorry Rebex cannot provide you with details for configuring TLS/SSL at the server, as we only provide support for the Rebex Ftp client. Maybe try to google how to enable the TLS/SSL for your server...? It also depends on the exact FTP server that you use.

...