Operation Manual – File System Management
H3C S5500-EI Series Ethernet Switches
Chapter 2 FTP Configuration
2-5
To do…
Use the command…
Remarks
Check files/directories on
the FTP server
ls
[
remotefile
[
localfile
] ]
Optional
Download a file from the
FTP server
get
remotefile
[
localfile
]
Optional
Upload a file to the FTP
server
put
localfile
[
remotefile
]
Optional
View the working directory
of the remote FTP server
pwd
Optional
Find the working path of
the FTP client
lcd
Optional
Create a directory on the
FTP server
mkdir
directory
Optional
Set the data transfer
mode to passive
passive
Optional
Passive by default
Delete specified file on the
FTP server
delete
remotefile
Optional
Delete specified directory
on the FTP server
rmdir
directory
Optional
Disconnect with the FTP
server without exiting the
FTP client view
disconnect
Optional
Equal to the
close
command
Disconnect with the FTP
server without exiting the
FTP client view
close
Optional
Equal to the
disconnect
command
Disconnect with the FTP
server and exit to user
view
bye
Optional
Terminate the connection
with the remote FTP
server, and exit to user
view
quit
Optional
Available in FTP client
view, equal to the
bye
command
Note:
z
FTP uses two modes for file transfer: ASCII mode and binary mode.
z
The
Is
command can only display the file/directory name, while the
dir
command
can display more information, such as the size and date of creation of files or
directories.