Back to product page

Timeout function


Timeout value, in seconds.

Type

A Long value. If successful, 0 is returned, otherwise error as specified here

Remarks

The Timeout value specifies how many seconds must pass without any activity between wodSFTP and remote server before wodSFTP will automatically disconnect from it. Automatic disconnection is a measure of protection against 'ghost' connections made between you and the remote server. If you don't want autodisconnection to occur, set Timeout to 0.

Timeout can be changed during the lifetime of a connection. You shouldn't set it below 120 (2 minutes) if you're on slow network connection.

Platforms

Windows