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?
Timeout property
Total number of seconds to expire before we are automatically disconnected from the server.
Type
Short.Syntax
- C#
- VB.NET
Int16 Timeout {get; set; };
Property Timeout As Int16
Remarks
Timeout value specifies how many seconds must pass without any activity between wodSFTP.NET and remote server before wodSFTP.NET will auto-disconnect from it. Auto-disconnect is a measure of protection so there are no 'ghost' connections made between you and remote server. If you don't want auto-disconnection to occur, set Timeout property to 0.Timeout can be changed during a lifetime of a connection. You shouldn't set it below 120 (2 minutes) if you're on slow network connection.