Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SFTP
- Methods
- Properties
- Authentication
- Blocking
- BufferSize
- Compression
- Encryption
- EncryptionList
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- State
- Timeout
- TransferMode
- TransferRate
- TransferTime
- Version
- Events
- How to get support?
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. If remote server uses some non-standard port value, you can change it here to appropriate value, otherwise default port 22 will be used.This property value cannot be changed after Connect method is issued.