Network requirements – H3C Technologies H3C S3100 Series Switches User Manual
Page 771

1-6
Operation
Command
Description
Get the local working path on the
FTP client
lcd
Display the working directory on
the FTP server
pwd
Create a directory on the remote
FTP server
mkdir pathname
Remove a directory on the remote
FTP server
rmdir pathname
Delete a specified file
delete remotefile
dir [ remotefile ] [ localfile ]
Query a specified file on the FTP
server
ls [ remotefile ] [ localfile ]
Optional
If no file name is specified, all the
files in the current directory are
displayed.
The difference between these two
commands is that the dir
command can display the file
name, directory as well as file
attributes; while the Is command
can display only the file name and
directory.
Download a remote file from the
FTP server
get remotefile [ localfile ]
Upload a local file to the remote
FTP server
put localfile [ remotefile ]
Rename a file on the remote server
rename remote-source
remote-dest
Log in with the specified user
name and password
user username [ password ]
Connect to a remote FTP server
open { ip-address | server-name }
[ port ]
disconnect
Terminate the current FTP
connection without exiting FTP
client view
close
quit
Terminate the current FTP
connection and return to user view
bye
Display the online help about a
specified command concerning
FTP
remotehelp [ protocol-command ]
Optional
Enable the verbose function
verbose
Optional
Enabled by default
Configuration Example: A Switch Operating as an FTP Server
Network requirements
A switch operates as an FTP server and a remote PC as an FTP client. The application switch.bin of
the switch is stored on the PC. Upload the application to the remote switch through FTP and use the
boot boot-loader command to specify switch.bin as the application for next startup. Reboot the switch