H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – FTP and TFTP
H3C S7500 Series Ethernet Switches Chapter 1
FTP and TFTP Configuration
1-7
Note:
For information about the boot boot-loader command and how to specify the startup
file for a switch, refer to the “System Maintenance and Debugging” part of this manual.
1.1.4 FTP Configuration: A Switch Functioning as an FTP Client
The function for a switch to function as an FTP client is implemented by an application
module in the switch. Thus a switch can function 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 functioning as an FTP client.
Follow these steps to perform basic FTP client configuration:
To do… Use the command… Remarks
Enter FTP client view
ftp [ cluster | ftp-server
[ port-number ] ]
Set the ASCII mode for file
transfer
ascii
Optional
By default, files are
transferred in ASCII
characters.
Set the binary mode for file
transfer
binary
Optional
Set the passive mode for data
transmission
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 the
parent directory
cdup
Optional
Get the local work directory on
the FTP client
lcd
Optional
Display the directories 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 a specified file
dir [ filename ]
[ localfile ]
Optional