Updated on 2024-06-12 GMT+08:00

File Transmission

When you manage resources through a web browser, you can upload or download files on the File Transfer tab. This feature enables file transfer between a local computer and managed host and between different managed hosts. The CBH system records the entire file transfer process in detail, making it easier to audit file upload and download operations.

Netdisk is a personal net disk in a CBH system, which is preset for each system user. A user can temporarily store files on it for file transfer between managed hosts. The file content in the personal net disk is visible only to users who creates the file.

Netdisk is directly associated with each system user. If a user is deleted, the files on the personal net disk are cleared and the personal net disk space is released.

Constraints

  • Currently, when you use a web browser for O&M, files can be uploaded or downloaded only on the hosts using the SSH or RDP protocol.
  • During web-based O&M, users cannot upload files to or download files from managed hosts by running the rz or sz command but only through File transfer.

    For Linux hosts, users can transfer files by running commands on the SSH client. For example, users can run the rz or sz command on the SSH client to upload or download files. However, the CBH system cannot record such file upload and download data, and the purpose of security audit cannot be met.

  • Web-based O%M allows you to download one or more files but not folders.
  • Resumable download is not supported. Do not stop or pause the file upload or download process.
  • For a file larger than 1 GB, you can split the file into several small files and then upload or download them in batches or use the FTP client to transfer the file.

Prerequisites

  • You have the permissions to upload and download host resource files.
  • You have the host operation permissions and can log in to the managed host using a web browser.

Uploading Files to and Downloading Files from a Managed Linux Host

Files can be directly transferred between a Linux host and a local computer without having to use the personal net disk. A personal net disk can be used to transfer files from other managed hosts.

  1. Log in to the CBH system.
  2. Choose Operation > Host Operation and locate the target Linux host.
  3. Click Login to open the Linux host operation session.
  4. Click File Transfer to list the host files on a Linux host.
  5. Upload files to the Linux host.

    You can click the upload icon and choose Upload File, Upload Folder, or Upload File (Folder) from Netdisk to upload one or more local files, local folders, or net disk files or folders to the Linux host.
    Figure 1 Uploading files to a Linux host

  6. Download files from the Linux host.

    1. Select one or more files to be downloaded.
    2. Click Download or Save to netdisk to download selected files to the local computer or the personal net disk, respectively.
    Figure 2 Downloading files from a Linux host

  7. Upload files to the personal net disk

    1. Click Host File and select Netdisk to switch to the personal net disk file list.
    2. Click Upload File or Upload Folder to upload one or more local files or folders.
    Figure 3 Uploading files to the personal net disk

  8. Download files from the personal net disk.

    1. Select one or more files to be downloaded.
    2. Click the download icon to download one or more files to the local computer.
    Figure 4 Downloading files from the personal net disk

Uploading Files to and Downloading Files from a Managed Windows Host

For Windows hosts managed in a CBH system, the default path for storing files is NetDisk G. This disk is your personal net disk.

Files on a Windows host cannot be directly transferred between the lost and a local computer. They can be transferred only through the personal net disk.

  1. Log in to the CBH system.
  2. Choose Operation > Host Operation and locate the target Windows host.
  3. Click Login to open the Windows host operation session.
  4. Click File Transfer to list of host files on the personal net disk.

    Figure 5 Windows host file transfer

  5. Upload files to the Windows host.

    1. Click Upload File or Upload Folder to upload one or more local files or folders.
    2. Open the disk directory of the Windows host and search for NetDisk on drive G.
    3. Open NetDisk, right-click the file or folder to be uploaded, copy and paste it to the target directory on the Windows host.
      Figure 6 Uploading files to the personal net disk

  6. Download files from the Windows host.

    1. Open the Windows host disk directory, right-click the file or folder to be download, and copy it.
    2. Open the NetDisk disk directory, right-click and paste the file or folder to the personal net disk.

  7. Download files from the personal net disk.

    1. Select one or more files to be downloaded.
    2. Click the download icon to download one or more files to the local computer.
    Figure 7 Downloading files from the personal net disk