Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.FtpDLX
- Properties
- Authentication
- Blocking
- BufferSize
- Certificate
- Compression
- DirFormat
- DirItems
- Encryption
- Hostname
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalPath
- Login
- MaxTransferRate
- Passive
- Password
- Port
- PreserveDates
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- PublicKeyOpenSSH
- PublicKeySSH
- RemotePath
- Resume
- SecureMethod
- SmartGet
- SmartPut
- State
- StrictHost
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Methods
- Events
- Properties
- WeOnlyDo.Client.DirItemsCollection
- WeOnlyDo.Client.DirItem
- How to get support?
Port property
Port on the server where we will connect.
Type
IntegerSyntax
- 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.