The GetClientIdleTime method will return the number of
seconds that the client may remain idle before being automatically
disconnected by the server. The idle time of a client session is based
on the last time a command was issued to the server or when a file
data transfer completed. The server will never disconnect a client
that is in the process of uploading or downloading a file, regardless
of the idle timeout period.
The default idle timeout period for a client is 900 seconds (15
minutes), however the server can be configured to use a different
value and individual clients can request the timeout period be changed
by sending the IDLE command to the server. For a client to be able to
change its own timeout period, it must be granted the
FTP_ACCESS_IDLE permission. The minimum timeout period for a client
is 60 seconds, the maximum is 7200 seconds (2 hours). An application
can change the timeout period for a specific client session using the
SetClientIdleTime method.
It is important to note that the idle timeout period only affects
authenticated clients. Unauthenticated clients use a different
internal timer that limits the amount of time they can remain
connected to the server before successfully authenticating with a
valid username and password. By default, the authentication timeout
period is 60 seconds and is set when the server is started; it cannot
be changed for an individual client session.