Programming with FTP OLE Automation

image\rwnprg32.gif TimeoutSession property

 

Syntax

Object.TimeoutSession
Object.TimeoutSession =
Value

Data type

Integer

 

Description

Returns (first syntax line) or specifies (second syntax line) the maximum number of seconds to wait for data packets being transferred to or from the host. If nothing is received within the period specified, a timeout error displays and the transfer is aborted; in this case, try the operation again. If you receive repeated timeout errors, increase the timeout value.

Setting this property to 0 (zero) prevents the FTP Client from ever timing out when waiting for a response.

Values

The default value is 120.

FTP Script SET Parameter Equivalent

TIMEOUT-SESSION