TIME (Set Timeout Values for FTP Server)

The TIME IBM® i FTP server subcommand sets the inactivity and transmit timeout value for the FTP server.

FTP server subcommand

After the FTP control connection is established between the FTP client and the FTP server, the FTP server controls the timeout for this connection. This is the inactivity timeout value.

There is also a timeout value for the data connection, known as the transfer timeout.

The format of the TIME FTP server subcommand is:

TIME inactivity [transfer]

inactivity
The number of seconds the server waits before ending the connection with the client. Inactivity timeout values can range from 1-9,999,999 seconds. The default inactivity timeout value is 300 seconds.
transfer
The file transfer timeout in seconds. This parameter is optional. If you do not specify this parameter, then the server does not change the current value. Transfer timeout values can range from 1-9,999,999 seconds. The default transfer timeout value is 420 seconds.

For example, to set the inactivity timeout value of the FTP server to 1000 seconds, and keep the current value of the transfer timeout, enter this:

QUOTE TIME 1000

The TIME subcommand is not a standard FTP subcommand. It is IBM i FTP server specific.