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

Reminder

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

upgrade

FusionServer Tools 2.0 uMate User Guide 36

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).
SFTP Interface

SFTP Interface

Scenarios

Use the SFTP interface on Windows.

  • This interface is used to upload and download files.
  • Avoid using this interface directly. Only professional personnel can use this interface.

Prerequisites

Conditions

None

Data

No data preparation is required for this operation.

Procedure

  1. Enter cmd in the navigation bar of the uMate folder, press Enter, and enter dir.

    D:\uMate\FusionServer Tools-uMate-Win-Vxxx>dir 
     Volume in drive D is DataDisk 
     Volume Serial Number is C081-3EC9 
     
     Directory of D:\uMate\FusionServer Tools-uMate-Win-Vxxx 
     
    2017/10/13  16:52    <DIR>          . 
    2017/10/13  16:52    <DIR>          .. 
    2017/08/18  11:12         2,031,329 bin 
    2017/10/13  16:52    <DIR>          config 
    2017/10/13  16:52    <DIR>          help 
    2016/11/23  14:09            22,528 hwServers.xls 
    2017/06/09  09:08             3,782 hwServers.xml 
    2017/10/13  16:52    <DIR>          image 
    2017/10/13  16:52    <DIR>          jre 
    2017/10/13  16:52    <DIR>          lib 
    2017/10/13  16:52    <DIR>          log 
    2016/10/08  17:15                 0 runningFlag 
    2017/10/13  16:52    <DIR>          template 
    2017/08/09  20:14               758 tool.ini 
    2017/10/13  16:52    <DIR>          tools 
    2016/12/30  10:14           455,680 uMate.exe 
    2016/11/30  16:25             6,749 uMate.png 
    2017/07/20  14:58           431,104 uMate_CLI.exe 
                   8 File(s)      2,951,930 bytes 
                  10 Dir(s)  27,113,402,368 bytes free

  2. Run the uMate_CLI.exe sftp command to view command help information, as shown in Figure C-10.

    NOTE:

    Run the ./uMate_CLI.sh sftp command on Linux to view help information.

    Figure C-10 Help information

    Table C-1 describes the SFTP parameters.

    Table C-1 SFTP parameter description

    Command or Parameter

    Description

    Remarks

    -H

    IP address of the target device

    -

    -U

    User name of the target device

    User's permission for files

    -P

    Password of the target device

    -

    -p

    SFTP port number of the target device

    Default port number: 22

    ls directory

    Lists all files in the directory folder.

    The directory is an absolute directory.

    get getFile targetFil

    Downloads the getFile file from the target device to a local directory.

    The directory is an absolute directory.

    put putFile targetFile

    Uploads the putFile file to the target device.

    The directory is an absolute directory.

  3. Run SFTP commands as required.

    • To list all files in a specified directory on the target device, run the command shown in Figure C-11.
    Figure C-11 Listing all files in a directory
    • To download a file, run the command shown in Figure C-12.
    Figure C-12 Downloading a file
    • To upload a file to the target server, run the command shown in Figure C-13.
    Figure C-13 Uploading a file to the target server

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000068881

Views: 66623

Downloads: 4942

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