Description
-
Timeout before file transfer is closed for inactivity, in
seconds.
Property type
-
A Long value.
Syntax
-
object.Timeout [= value]
The Timeout Property syntax has these parts:
| object |
An expression evaluating to an object
of type XMPPFile. |
| value |
A Long value. Specifies time in seconds. |
Remarks
-
Timeout is a way of protecting
Files collection from
'ghost' objects that were never replied to from remote side. It is
possible that remote side ignores our file transfer requests - in
which case File object would be part of collection that will *never*
be removed.
-
-
This way, after certain amount of inactivity (default 120
seconds),
FileTransferEnd event will fire with 'timeout' error, and File
will be removed from the connection. Same thing would apply if file
transfer started, but stopped for some reason and there was no data
exchange for specified amount of time.
|