IBM Support

Increasing the FTP Server Inactivity Timeout Value with Quote Time

Troubleshooting


Problem

This document explains how an FTP client can increase the amount of time before the FTP session is closed by the server for inactivity.

Resolving The Problem

How can an FTP client increase the amount of time before the FTP session is closed by the server for inactivity?

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.

Inactivity timeout
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 timeout
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.

The FTP client command is QUOTE TIME <inactivity timeout value> <transfer timeout value>. This FTP subcommand changes the server side inactivity timeout for this session only. For example: QUOTE TIME 600 600 sets server inactivity timeout and transfer timeout to 10 minutes.

If the iSeries is the FTP server, the default timeout value can be changed by changing the INACTTIMO parameter in the FTP attributes (CHGFTPA).

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CLbAAM","label":"Communications->FTP"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

623014031

Document Information

Modified date:
13 October 2021

UID

nas8N1011178