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

File Access and Protocols Feature Guide 13

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

This document describes the implementation principles and application scenarios of the NAS feature. Also, it explains how to configure and manage NAS.
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).
Accessing FTP Shares

Accessing FTP Shares

This section describes how to access FTP shares.

Accessing FTP Shares on a Windows-based Client

  1. Open the Internet Explorer.
  2. In the address box, enter ftp://logical ip address, where logical ip address indicates the logical port IP address of the storage system.

    The system asks you to enter the user name and password.

    NOTE:

    If the storage system allows access by anonymous users, anonymous users can directly log in to directories of anonymous users without entering their user names and passwords by default.

  3. Enter the user name and password that can be used to access the FTP shares.

Accessing FTP Shares on a Linux/UNIX-based Client

  1. Enter ftp logical ip address, where logical ip address indicates the logical port IP address of the storage system.

    The system asks you to enter the user name and password.

  2. Enter the user name and password that can be used to access the FTP shares.

    NOTE:
    • When accessing the directory of an anonymous user, you need only to enter user name anonymous without entering the password.
    • If many files or directories exist under a shared directory, ensure that the timeout parameter is correctly configured (set the parameter value to a large one or disable the parameter) on the client so that the ls command can be successfully executed.
    For example, run an FTP command to access the FTP shares on the server whose IP address is 172.16.128.10.
    ldap-server:~ # ftp 172.16.128.10
    Connected to 172.16.128.10.
    220---------- Welcome to FTPd [privsep] ----------
    220-You are user number 2 of 100 allowed.
    220-Local time is now 16:16. Server port: 21.
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 10 minutes of inactivity.
    Name (172.16.128.10:root): hlwuser1
    331 User hlwuser1 OK. Password required
    Password:
    230-Your bandwidth usage is restricted
    230-This server supports FXP transfers
    230 OK. Current directory is /
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ls
    229 Extended Passive mode OK (|||30267|)
    150 Accepted data connection
    drwxrwxrwx    3 0          0                   5 Jan  7 16:36 .
    drwxrwxrwx    3 0          0                   5 Jan  7 16:36 ..
    -rw-rw----    1 100002     100000        4160064 Jan  7 16:36 FileZilla_3.3.2_win32-setup.exe
    -rw-rw----    1 100002     100000             70 Jan  7 16:35 sdfdf.txt
    drwxrwx---    3 100002     100000              3 Jan  7 16:34 testdir
    226-Options: -a -l 
    226 5 matches total

Accessing FTP Shares on an LFTP Client

LFTP is a file transmission client that supports multiple file transmission protocols including FTP, FTPS, SFTP,HTTP, and HTTPS.
NOTE:

When the FTPS is accessed, you need to modify the configuration file /etc/lftp.conf of LTFP. Add set ssl:verify-certificate no at the end of the configuration file to close certificate verification.

  1. Run lftp -u username,password ip_address. username and password is the actual user name and password used to log in to ip_address of the FTP server.
  2. Run the ls command to check the remote file list.

    For example, access the FTP shares on the server whose IP address is 192.168.1.11.
    linux-11215:~ # lftp -u user_ftp01,Admin@123 192.168.1.11
    lftp user_ftp01@192.168.1.11:~> ls
    drwxrwxrwx   2 root root           3 May 19 10:29 .
    drwxrwxrwx   2 root root           3 May 19 10:29 ..
    -rw-rw----   1 lyr_ftp01 default_group           0 Apr 18 16:20 ftp_01.txt
    

Accessing FTP Shares over FTPS

Currently, you can only access FTP shares over FTPS using related tool software. The following describes how to access FTP shares over FTPS using FileZilla software as an example.
  1. Open the FileZilla client software.
  2. Choose File > Site Manager.

    Site Manager is displayed.

  3. Click New Site to create a site.
  4. On the General tab page, type configuration information of storage system's FTP shares.



    Where:

    • Host indicates the IP address of a logical port for FTP sharing.
    • Port indicates the default port.
    • Protocol indicates the used protocol type. Select FTP - File Transfer Protocol if you use FTPS.
    • Encryption indicates the encryption mode. The value that you select must be consistent with that set in FTPS Connection Mode. If FTPS Connection Mode is Show, select Require explicit FTP over TLS. If FTPS Connection Mode is Hide, select Require implicit FTP over TLS.
    • Logon Type indicates the login mode. Select Normal here.
    • User indicates the name of a user account used to access FTP shares.
    • Password indicates the password used to access FTP shares.

  5. Click Connect to connect to the FTP server.

    If you use the default certificate, a certificate warning message is displayed.

  6. Optional: Click OK to ensure the certificate information.
  7. Go to the page of FTP shares.



Follow-up Procedure

  • If the information about a local authentication user or domain user is changed (for example, the user is forbiddened, the password is changed or expires, the relationship is changed, or the user is deleted) when a client accesses the file system of FTP shares, the changed information will take effect after authentication is passed in the next time (by mounting shares again).
  • Newly modified FTP configuration parameters need several seconds to take effect in all controllers. During that period, your client may not be able to access other controllers. In such a case, wait a few seconds and use your client to retry connections.
Translation
Download
Updated: 2019-08-14

Document ID: EDOC1000084098

Views: 30173

Downloads: 72

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