Task
Display files under a directory.
Delete one or more directories
from the SFTP server.
Displaying help information
Task
Display the help information of
SFTP client commands.
Terminating the connection with the SFTP server
Task
Terminate the connection with the
SFTP server and return to user
view.
Configuring the device as an SCP client
This section describes how to configure the device as an SCP client to establish a connection with an
SCP server and transfer files with the server.
Establishing a connection to an SCP server
When you try to access an SCP server, the device must use the server's host public key to
authenticate the server. If the server's host public key is not configured on the device, the device will
notify you to confirm whether to continue with the access.
•
If you choose to continue, the device accesses the server and downloads the server's host
public key.
•
If you choose to not continue, the connection cannot be established.
As a best practice, configure the server's host public key on the device in an insecure network.
To transfer files with an IPv4 SCP server:
Command
•
dir [ -a | -l ] [ remote-path ]
•
ls [ -a | -l ] [ remote-path ]
•
delete remote-file
•
remove remote-file
Command
•
help
•
?
Command
•
bye
•
exit
•
quit
374
Remarks
Available in SFTP client view.
The dir command has the same
function as the ls command.
Available in SFTP client view.
The delete command has the
same function as the remove
command.
Remarks
Available in SFTP client view.
Remarks
Available in SFTP client view.
These three commands have the
same function.