DATATIMEOUT (FTP server) statement

Use the DATATIMEOUT statement to specify the length of time to wait for the send to complete before the connection is aborted.

Syntax

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

Parameters

seconds
Used to determine when to abort the connection if a send() or recv() is not completed or if a passive socket was opened, but never completed by the remote client. Allowed values are 0 - 86 400. The default is 300 seconds.

Specifying 0 indicates no timeout value is used, and the transfer does not time out.

Examples

To check for send completion at 30 seconds:
DATATIMEOUT 30

Usage notes

The DATATIMEOUT timer is set when the FTP server does a send() or recv() call to TCP/IP or when a passive data connection is detected, and the server must wait for the client to complete the session. If the process does not complete within the timer value, the connection is aborted.