0 votes
by (250 points)
edited by

Hi Team,

We want to use all three modes o FTP (No Encryption, Implict, Explicit) can you please guide how to use No encryption mode?

Applies to: Rebex FTP/SSL

1 Answer

0 votes
by (70.4k points)

You can specify security mode when calling the Connect() method using the SslMode parameter (see API reference).

Connect with no encryption (port 21):

ftp.Connect("test.rebex.net", SslMode.None);

Connect with explicit encryption (port 21):

ftp.Connect("test.rebex.net", SslMode.Explicit);

Connect with implicit encryption (port 990):

ftp.Connect("test.rebex.net", SslMode.Implicit);