![H3C S5120-SI Series Скачать руководство пользователя страница 248](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174248.webp)
1-5
download a file from the FTP server under the authorized directory of the FTP server by following these
steps:
1) Use
the
dir
or
ls
command to display the directory and the location of the file on the FTP server.
2) Delete useless files for effective use of the storage space.
3) Set the file transfer mode. FTP transmits files in two modes: ASCII and binary. ASCII mode
transfers files as text. Binary mode transfers files as raw data.
4) Use
the
lcd
command to display the local working directory of the FTP client. You can upload the
file under this directory, or save the downloaded file under this directory.
5) Upload or download the file.
Follow these steps to operate the files on an FTP server:
To do…
Use the command…
Remarks
Display detailed information
about a directory or file on
the remote FTP server
dir
[
remotefile
[
localfile
] ]
Optional
The
ls
command displays the name of
a directory or file only, while the
dir
command displays detailed information
such as the file size and creation time.
Query a directory or file on
the remote FTP server
ls
[
remotefile
[
localfile
] ]
Optional
The
ls
command displays the name of
a directory or file only, while the
dir
command displays detailed information
such as the file size and creation time.
Delete the specified file on
the remote FTP server
permanently
delete
remotefile
Optional
Set the file transfer mode to
ASCII
ascii
Optional
ASCII by default.
Set the file transfer mode to
binary
binary
Optional
ASCII by default.
Set the data transmission
mode to passive
passive
Optional
Passive by default.
Display the local working
directory of the FTP client
lcd
Optional
Upload a file to the FTP
server
put
localfile
[
remotefile
]
Optional
Download a file from the FTP
server
get
remotefile
[
localfile
]
Optional
Using Another Username to Log In to an FTP Server
After the device serving as the FTP client has established a connection with the FTP server (For how to
establish an FTP connection, refer to
Establishing an FTP Connection
.), you can use another username
to log in to the FTP server.
This feature allows you to switch to different user levels without affecting the current FTP connection
(namely, the FTP control connection, data connection and connection status are not changed); if you
input an incorrect username or password, the current connection will be terminated, and you must
return to user view and log in with the
ftp
command again.
Содержание S5120-SI Series
Страница 61: ...7 8 Sysname ip http acl 2030...
Страница 138: ...2 10 PORT VLAN MODE GigabitEthernet1 0 1 2 MANUAL...
Страница 186: ...1 46 Instance Vlans Mapped 0 1 to 9 11 to 19 21 to 29 31 to 4094 1 10 2 20 3 30...
Страница 218: ...ii Displaying and Maintaining BOOTP Client Configuration 4 2 BOOTP Client Configuration Example 4 3...
Страница 255: ...1 12...
Страница 381: ...ii Troubleshooting RADIUS 1 32...
Страница 577: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...