Description
-
Defines number of seconds of inactivity before KeepAlive ignore
packets are sent.
Property type
-
An Integer value. Specified in seconds.
Syntax
-
object.KeepAlives [= value]
The KeepAlives Property 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.
|