The ftp timeout command sets the timeout period of the FTP connection.
The undo ftp timeout command restores the default timeout period.
| Parameter | Description | Value |
|---|---|---|
| ipv6 | Indicates the IPv6 FTP server. | - |
| minutes | Specifies the timeout period, in minutes. | The value ranges from 1 to 35791. By default, it is 10 minutes. |
After logging in to the FTP server, the user sets up a connection with the FTP server. If an abnormal disconnection occurs or the user abnormally cuts the connection, the FTP server is not notified and therefore the connection is still kept. To avoid such a case, the timeout period is set. If no command interaction is conducted during this period, the FTP server considers the connection invalid and cuts the connection.
When you use the get command in the FTP view to overwrite a file, the operation may fail due to timeout of the FTP connection. To prevent this problem, set a long timeout period for the FTP connection.