Specifies the FTP encrypt mode



Fields

PlainText

0

No SSL

Implicit

1

Implicit SSL mode

Explicit

2

Explicit SSL mode



Examples

// Create a FTP server use implicit SSL

Server ftp_server = new Server { Protocol = ServerProtocol.FTP, FTPEnryptMode = FTPEnryptMode.Implicit,Host = "demo.wftpserver.com", Port =990, Username = "demo", Password = "demo"  };

//Connect to this server

Site.Connect(ftp_server);





See Also