Operation Manual – File System Management
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 FTP Configuration
2-8
To do…
Use the command…
Remarks
Configure the
idle-timeout timer
ftp
timeout minutes
Optional
30 minutes by default.
In idle-timeout time, if there is no
information interaction between
the FTP server and client, the
connection between them is
terminated.
Set the file update
mode in FTP
ftp update
{
fast
|
normal
}
Optional
Normal update is used by default.
2.3.2 Configuring Authentication and Authorization for Accessing FTP
Server
To allow an FTP user to access certain directories on the FTP server, you need to
create an account for the user, authorizing access to the directories and associating the
username and password with the account.
Follow these steps to configure authentication and authorization for FTP server:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a local user and
enter its view
local-user user-name
Required
No local user exists by default,
and the system does not
support FTP anonymous user
access.
Assign a password to
the user
password
{
simple
|
cipher
}
password
Required
Assign the FTP service
to the user
service-type ftp
[
ftp-directory
directory
]
Required
By default, the system does not
support anonymous FTP
access, and does not assign
any service. If the FTP service
is assigned, the root directory
of the device is used by default.
Specify the directory
an FTP user can
access
work-directory
directory-name
Optional
By default, the FTP/SFTP
users can access the root
directory of the device.