No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
put (SFTP client view)

put (SFTP client view)


The put command uploads a local file to a remote SFTP server.


put local-filename [ remote-filename ]


Parameter Description Value
local-filename Specifies a local file name on the SFTP client. The value is a case-sensitive character string without spaces. The file name (including the absolute path) contains 1 to 64 characters.
remote-filename Specifies the name of the file uploaded to the remote SFTP server. The value is a case-sensitive character string without spaces. The file name (including the absolute path) contains 1 to 64 characters.


SFTP client view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

This command enables you to upload files from the local device to a remote SFTP server to view the file contents or back up the files. For example, you can upload log files of a device to an SFTP server and view the logs in the server. During an upgrade, you can upload the configuration file of the device to the SFTP server for backup.


  • If remote-filename is not specified, the uploaded file is saved on the remote SFTP server with the original file name.

  • If the specified remote-filename is the same as an existing file name on the SFTP server, the uploaded file overwrites the existing file on the server.


# Upload a file to the SFTP server.

<Huawei> system-view
[Huawei] sftp
Please input the username:admin
Trying ...
Press CTRL+K to abort
Enter password:
sftp-client> put wm.cfg
local file: wm.cfg --->  Remote file: /wm.cfg
Info: Uploading file successfully ended.
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 209306

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next