Operation Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 FTP and TFTP Configuration
Huawei Technologies Proprietary
1-9
1.1.4 FTP Configuration: A Switch Operating as an FTP Client
I. Basic configurations on an FTP client
The function for a switch to operate as an FTP client is implemented by an application
module built in the switch. Thus a switch can operate as an FTP client without any
configuration. You can perform FTP-related operations (such as creating/removing a
directory) by executing FTP client commands on a switch operating as an FTP client.
Table 1-7 lists the operations that can be performed on an FTP client.
Table 1-7 Basic configurations on an FTP client
Operation Command Description
Enter FTP Client view
ftp [ cluster |
remote-server
[ port-number ] ]
—
Specify to transfer files in
ASCII characters
ascii
Optional
By default, files are
transferred in ASCII
characters.
Specify to transfer files in
binary streams
binary
Optional
Set the data transfer
mode to passive
passive
Optional
By default, the passive
mode is adopted.
Change the work directory
on the remote FTP server
cd pathname
Optional
Change the work directory
to be the parent directory
cdup
Optional
Get the local work path on
the FTP client
lcd
Optional
Display the work directory
on the FTP server
pwd
Optional
Create a directory on the
remote FTP server
mkdir pathname
Optional
Remove a directory on the
remote FTP server
rmdir pathname
Optional
Delete a specified file
delete remotefile
Optional
Query the specified files dir [ filename ] [ localfile ] Optional
Query a specified remote
file
ls [ remotefile ] [ localfile ] Optional
Download a remote file get remotefile [ localfile ] Optional