Back to product page

Port property


Port on the server where we will connect.

Type

Integer

Syntax

  • C#
  • VB.NET
Int32 Port {get; set; };

Property Port As Int32

Remarks

This property determines which port on remote server is used for connection. When you set Protocol property, wodFtpDLX.NET will automatically set this value to default port, depending on selected protocol. If remote server uses some non-standard port value, you can change it here to appropriate value. Typical values are 21 for FTP (with or without SSL) and 22 for SFTP. FTPSimplicit protocol uses port 990.

This property value cannot be changed after Connect method is issued.

Platforms

Windows