Help Center > > FAQs> File Transferring> How Can I Use OBS to Transfer Files from a Local Windows Computer to a Windows ECS?

How Can I Use OBS to Transfer Files from a Local Windows Computer to a Windows ECS?

Updated at: Mar 31, 2021 GMT+08:00

Scenarios

Through an intranet, an ECS can access OBS in which any type of data can be stored. After storing data such as images and videos in OBS, you can access OBS from the ECS and download data from OBS. The intranet access is free of charge and prevents data transmission interruptions caused by unstable networks. This maximizes transmission performance, reduces traffic costs, and minimizes data transmission failures.

When accessing OBS through an intranet, ensure that the target OBS resources are in the region where the ECS resides. If they are in different regions, access is supported only through the Internet and traffic fees will be incurred.

Procedure

To transfer files to a Windows ECS, perform the following operations:

  • Step 1: Create a Bucket on the OBS Management Console

    Before transferring files from a local computer to OBS, create a bucket.

    This section describes how to create a bucket on the OBS management console. For more details about how to create a bucket, see Creating a Bucket.

  • Step 2: Upload Local Files to the Bucket Using OBS Browser+

    After creating a bucket, you can upload files to the bucket in various ways. Then, OBS stores the files in the bucket as objects.

    This section uses OBS Browser+ as an example to upload files.

    • Through the OBS management console, you can upload files with a total size smaller than 5 GB.
      • In batch upload mode, a maximum of 100 files can be uploaded at a time, and the total size of the files cannot exceed 5 GB.
      • In single upload mode, only one file can be uploaded at a time, and the file size cannot exceed 50 MB.
    • Using OBS Browser+ and obsutil, you can upload files with a total size smaller than 48.8 TB.
    • Using SDK/API PUT, POST, or appendable operations, you can upload files with a total size smaller than 5 GB.
    • Using SDK/API multipart upload or API resumable upload, you can upload files with a total size smaller than 48.8 TB.

    For details, see Uploading an Object.

  • Step 3: Use OBS Browser+ on the Windows ECS to Access the Bucket Through the Intranet

    OBS Browser+ is a GUI-based Windows desktop application for OBS resource management. After configuring the private DNS server address of your ECS, you can use OBS Browser+ to access the bucket through the intranet and download data such as images and videos in the bucket.

Step 1: Create a Bucket on the OBS Management Console

  1. In the navigation pane on the OBS management console, select Object Storage.
  2. Click Create Bucket in the upper right corner of the page.
  3. Choose a region and set the bucket name.
  4. Set a storage class, which is Standard in this example.

    Standard storage is suitable for frequently accessed (multiple times per month) data such as small and essential files that require low latency.

    The storage class of a bucket is inherited by objects uploaded to the bucket by default. You can also change the storage class of an object when uploading it to the bucket.

  5. Set other parameters, such as Bucket Policy, Default Encryption, and Direct Reading. For details, see Creating a bucket using OBS Console. In this example, default settings are retained.
  6. Click Create Now. The created bucket is displayed on the Object Storage Service page.

Step 2: Upload Local Files to the Bucket Using OBS Browser+

  1. Create access keys (AK and SK) on the management console.

    When you access OBS using OBS Browser+, OBS requires the access keys (AK and SK) for authentication. Therefore, obtain the access keys (AK and SK) before you access OBS.
    1. On the management console, click the username in the upper right corner and select My Credentials from the drop-down list.
    2. In the navigation pane, select Access Keys.
    3. Click Create Access Key.
    4. In the Create Access Key dialog box, enter the login password.
    5. Enter the verification code sent to your email or mobile phone.
    6. Click OK to download the access key. Anyone who possesses your access keys can decrypt your login information. Therefore, keep your access keys secure.

  2. Install OBS Browser+ on the local computer.

    1. Download the OBS Browser+ installation package.

      For details, see Downloading OBS Browser+.

      Currently, the OBS Browser+ package is stored in a bucket in the CN North-Beijing1 region. Servers in the CN North-Beijing1 region can download the package through the private network. Servers not in the CN North-Beijing1 region can download the package using EIPs. Alternatively, you can upload the package to a bucket in the same region as your server and then download the package.

    2. Decompress the downloaded software package and run obs-browser-plus Setup xxx.exe to install OBS Browser+.
    3. Double-click obs-browser-plus on the Start menu or the desktop shortcut to run OBS Browser+.

  3. Log in to OBS Browser+.

    For details, see Logging In to OBS Browser+.

  4. Use OBS Browser+ to upload files.

    After logging in to OBS Browser+, search for the bucket created in Step 1: Create a Bucket on the OBS Management Console to access data.

    For details, see OBS Browser+ Best Practices.

Step 3: Use OBS Browser+ on the Windows ECS to Access the Bucket Through the Intranet

  1. Log in to the Windows ECS and check whether the private DNS server address has been configured.

    In the cmd window, run the ipconfig /all command to check whether the DNS Server value is the private DNS server address in the region where the ECS resides.

    HUAWEI CLOUD provides different private DNS server addresses for different regions. For details, see What Are the Private DNS Server Addresses Provided by the DNS Service?

    If the private DNS server address has not been configured, configure the intranet DNS.

  2. Install OBS Browser+ on the ECS.

    1. Download the OBS Browser+ installation package.

      For details, see Downloading OBS Browser+.

    1. Decompress the downloaded software package and run obs-browser-plus Setup xxx.exe to install OBS Browser+.
    2. Double-click obs-browser-plus on the Start menu or the desktop shortcut to run OBS Browser+.

  3. Log in to OBS Browser+.

    For details, see Logging In to OBS Browser+.

  4. Use OBS Browser+ to download files from the bucket.

    After logging in to OBS Browser+, search for the bucket created in Step 1: Create a Bucket on the OBS Management Console. Then, you can access OBS through the HUAWEI CLOUD intranet on the Windows ECS to perform basic data access operations and other advanced settings.

    For details, see OBS Browser+ Best Practices.

    Then, files are transferred from the local Windows computer to the Windows ECS using OBS Browser+.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel