Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSFTP
- Methods
- Abort
- About
- AppendData
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FingerPrint
- FIPS
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Events
- Methods
- IwodSFTPNotify
- SftpItem
- SftpItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
KeepAlives property
Defines number of seconds of inactivity before KeepAlive ignore packets are sent.
Type
An Integer value. Specified in seconds.Syntax
- Basic
object.KeepAlives [= value]
The KeepAlives(object,value) syntax has these parts:
The KeepAlives(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSFTP. |
value | An Integer value. |
Remarks
KeepAlives value specifies how many seconds of must pass without any activity between wodSFTP and remote server before wodSFTP sends "KeepAlive" packet to test if connection is still open or not. This is useful if you want to set Timeout = 0, but still would like to occasionally test if connection is established. Since possible connection problems occur when data is being transmitted, KeepAlives (also known as Ignore/None packets) are sent. They are ignored by the server, but if connection is broken error is reported so you can try to reconnect.Leaving KeepAlives = 0 will prevent from sending those packets.