62
Examples
# Set the idle-timeout timer to 36 minutes.
<Sysname> system-view
[Sysname] ftp timeout 36
[Sysname]
ftp update
Use
ftp update
to set the file update mode that the FTP server uses while receiving data.
Use
undo ftp update
to restore the default.
Syntax
ftp update
{
fast
|
normal
}
undo ftp update
Default
The file update mode is
normal
.
Views
System view
Default command 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.
Examples
# Set the FTP update mode to
normal
.
<Sysname> system-view
[Sysname] ftp update normal
[Sysname]
FTP client configuration commands
Before executing FTP client configuration commands, make sure proper authorization configurations
have been made for users on the FTP server. Authorized operations include view the files under the
current directory, read/download the specified files, create directory/upload files, and rename/remove
files.
The prompt information in the following examples varies with FTP servers.
ascii
Use
ascii
to set the file transfer mode to ASCII.