INACTIVE (FTP Server) statement

Use the INACTIVE statement to set the inactivity timer to a specified number of seconds. Any control connection that is inactive for the amount of time specified on this statement is closed by the server.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-INACTIVE 300------.   
>>-+-------------------+---------------------------------------><
   '-INACTIVE--seconds-'   

Parameters

seconds
The number of seconds to which the inactivity timer is set. The valid range is 0 - 86 400. The default is 300. A value of 0 indicates no inactivity time is enabled, and the connection does not time out.

Examples

Set the inactivity timer to 30 seconds:
INACTIVE 30

Usage notes

Related topics