48
View
System view
Default level
3: Manage level
Parameters
minute
: Idle-timeout timer in minutes, in the range of 1 to 35791.
Description
Use the
ftp timeout
command to set the idle-timeout timer.
Use the
undo ftp timeout
command to restore the default.
By default, the FTP idle time is 30 minutes.
If the idle time of an FTP connection exceeds the FTP timeout value, the FTP server breaks the connection
to save resources.
Examples
# Set the idle-timeout timer to 36 minutes.
<Sysname> system-view
[Sysname] ftp timeout 36
ftp update
Syntax
ftp update
{
fast
|
normal
}
undo ftp update
View
System view
Default level
3: Manage level
Parameters
fast
: Fast update. In this mode, the FTP server writes the complete file to the memory before writing it to
the storage medium.
normal
: Normal update. In this mode, the FTP server writes the data of a file from the memory to the
storage medium multiple times, with up to 4096 bytes per time.
Description
Use the
ftp update
command to set the file update mode that the FTP server uses while receiving data.
Use the
undo ftp update
command to restore the default.
By default, the file update mode is
normal
.
Examples
# Set the FTP update mode to
normal
.
<Sysname> system-view
[Sysname] ftp update normal