singlefabric
AI AssetsStorage and Data Services

Upload Large Local Files

Learn how to upload large files (greater than 10GB) or multiple small files to a file storage directory using SFTP.

Introduction

This document describes how to upload large files (greater than 10GB) or multiple small files to a file storage directory using SFTP.

If the user needs to upload a large file larger than 10GB or multiple small files locally to the file storage directory mounted on the container instance, you can use an SFTP client to upload them.

Precautions

  • Container instances can be accessed using SSH without a password.
  • There are many types of SFTP clients, and users need to perform actual operations based on the official introduction of each SFTP tool. This document uses the FileZilla client as an example.

Procedure

  1. Download and install the SFTP tool.

  2. Configure SSH password-free access to container instances.

  3. Open the SFTP tool (FileZilla client, for example), and click New Site in the upper left corner.

  4. In the Site Manager window that pops up, configure the following parameters:

    • Protocol: Choose SFTP-SSH File Transfer Protocol.
    • Host: Log in to the container instance list page, click More Actions on the right side of the row where the container instance is located, select Copy SSH Command, and fill in the IP address in the SSH command here.
    • Port: Copy the port number from the SSH command.
    • Logon Type: Select Key file.
    • User: Set to Root.
    • Key File: The path where the user's local host private key file (i.e., id_rsa) is located. This is typically at \user\<user_name>\.ssh\id_rsa but may vary based on your local storage path.
  5. Click Connect to establish the connection. When the status prompt window appears with the message Status: Directory listing of "/root" successful, it means the connection is successful.

  6. In the Remote site file directory window, select /root/epfs, which is the file storage directory mounted on the container instance. Users can move local files to be uploaded into this directory.

  7. The uploaded files can be managed directly in the user directory.


On this page