Back to product page

Protocol property


Returns protocol client is using.

Type

A ProtocolsEnum enumeration.

Syntax

  • Basic
object.Protocol
The Protocol(object) syntax has these parts:
objectAn expression evaluating to an object of type FtpUser.

Remarks

Protocol property holds type of protocol used by the client during one session. For example, you may setup your server to be FTP+SSL (FTPS), but client does not use SSL encryption at all. During Connected event, you can determine if client uses SSL or not - and if he doesn't, you can deny access to the server.

Platforms

Windows