H3C Technologies H3C S3100 Series Switches User Manual
Page 541

Operation Manual – FTP and TFTP
H3C S3100-52P Ethernet Switch
Chapter 1 FTP and TFTP Configuration
1-9
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
Upload a local file to the
remote FTP server
put
localfile [ remotefile ]
Optional
Rename a file on a
remote host.
rename
remote
-source
remote
-dest
Optional
Switch to another FTP
user
user
username
[
password
]
Optional
Connect to a remote FTP
server
open
{ ip-address |
server-name
} [ port ]
Optional