2206 CHAPTER 143: SFTP CONFIGURATION COMMANDS

remote-file: Name for the file on a remote SFTP server.

Description Use the put command to upload a local file to a remote SFTP server.

If you do not specify the remote-fileargument, the file will be saved remotely with the same name as the local one.

Example # Upload local file temp.c to the remote SFTP server and save it as temp1.c.

sftp-client> put temp.c temp1.c

Local file:temp.c ---> Remote file: /temp1.c

Uploading file successfully ended

pwd

Syntax pwd

View SFTP client view

Parameter None

Description Use the pwd command to display the current working directory of a remote SFTP server.

Example # Display the current working directory of the remote SFTP server.

sftp-client> pwd

/

quit

Syntax quit

View SFTP client view

Parameter None

Description Use the quit command to terminate the connection with a remote SFTP server and return to system view.

This command functions as the bye and exit commands.

Example # Terminate the connection with the remote SFTP server.

sftp-client> quit

Bye

[Sysname]

Page 2206
Image 2206
3Com MSR 30, MSR 50 manual Pwd, Quit, Syntax pwd, Syntax quit