Guides
Network Volume S3cmd

S3cmd

Functional Description

s3cmd is a command line tool to upload, retrieve and manage data int network volume. It is most suitable for users familiar with command line programs and is widely used for batch scripts and automatic backup.

Installation & Usage

Applicable Operating System: Linux, MacOS, Windows

Installation Steps
1. Download the s3cmd tool
- linux/amd64: https://tools-s3.runc.ai/s3cmd/s3cmd-v0.0.1-linux-amd64.zip
- linux/arm64: https://tools-s3.runc.ai/s3cmd/s3cmd-v0.0.1-linux-arm64.zip
- macos/amd64: https://tools-s3.runc.ai/s3cmd/s3cmd-v0.0.1-macos-amd64.zip
- macos/arm64: https://tools-s3.runc.ai/s3cmd/s3cmd-v0.0.1-macos-arm64.zip
- windows/amd64: https://tools-s3.runc.ai/s3cmd/s3cmd-v0.0.1-win-amd64.zip

2. Unzip the installation packager
unzip s3cmd-xxx.zip

3. Install the cmd (use sudo if permission is insufficient for linux, and you can also run the cmd directly with ./s3cmd)
install -m 755 s3cmd /usr/local/s3cmd

4. Fill in the configuration
vim ~/.s3cfg
Open the current configuration, fill in the following parameters
[default]
access_key = "TOKEN public key/API public key"
secret_key = "TOKEN private key/API private key"
host_base = "the base host of each region, for example: jpn-tky.s3-proxy.runc.ai"
host_bucket = "request style, for example: %(bucket).jpn-tky.s3-proxy.runc.ai"

The access_key, secret_key, host_base, and host_bucket parameter values are obtained as follows: Go to the Console - Storage (opens in a new tab) page, locate the Network Volume, and click the "S3cmd" button in the upper right corner. Configuration Parameters

Example configuration items
[default]
access_key = "TOKEN_XXXX-YYYY-ZZZZ"
secret_key = "aaabbbcccdddeeefff"
host_base = "jpn-tky.s3-proxy.runc.ai"
host_bucket = "netvolume-q4piaaetsjggbjtz.jpn-tky.s3-proxy.runc.ai"

Usage

1.Upload a file
s3cmd upload netvolume-xxxxyyyy ./test.txt
2.Delete a file
s3cmd delete netvolume-xxxxyyyy/test.txt
3.Download a file
s3cmd download netvolume-xxxxyyyy/test.txt
4.Upload a file using multipart upload method
s3cmd mpu netvolume-xxxxyyyy ./test.txt

Other usage

Other operations can not got through s3cmd --help command.

Copyright © 2025 RunC.AI All rights reserved.