Operation Manual – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches Chapter 1 FTP and SFTP Configuration
1-16
Operation Command Description
Change the working
directory on the remote
SFTP server
cd pathname
Change the working
directory to be the parent
directory
cdup
Display the working
directory on the SFTP
server
pwd
Create a directory on the
remote SFTP server
mkdir pathname
Remove a directory on the
remote SFTP server
rmdir pathname
Optional
delete remotefile
Delete a specified file
remove remote-file
Optional
Both commands have the
same effect.
dir [ -a | -l ] [ remote-path ]
Query a specified file on
the SFTP server
ls [ -a | -l ] [ remote-path ]
Optional
If no file name is provided,
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 SFTP server
get remotefile [ localfile ]
Upload a local file to the
remote SFTP server
put localfile [ remotefile ]
Rename a file on the
remote server
rename remote-source
remote-dest
Optional
bye
exit
Exit SFTP client view and
return to system view
quit
The three commands
have the same effect.
Display the online help
about a specified
command concerning
SFTP
help [ all |
command-name ]
Optional