You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
tosutil
Overview
Copy page
Download PDF
Overview
tosutil is a command-line tool used to access and manage TOS. This tool allows you to perform batch data processing between local storage and TOS. You can use it to upload and download small- to medium-sized data to and from the cloud, as well as integrate automated scripting tasks.​
Downloading and installing tosutil​
For the download links and installation instructions, see Downloading and installing tosutil.​
Supported features​
The following is a list of the common commands of tosutil.​
​
Type​
Command​
Description​
Common commands​
ls​
Lists buckets, objects, or in-progress multipart uploads.​
​
Creates a folder.​
​
du​
Calculates the size and number of objects and parts within the bucket.​
​
mb​
Create a new bucket using the provided bucket name and parameters.​
​
cp​
Uploads, downloads or copies objects.​
​
Sets object metadata.​
​
stat​
Queries bucket or object properties.​
​
rm​
Deletes buckets or objects, or aborts multipart uploads.​
​
Creates authorization codes for sharing objects. These authorization codes can be used to list or download the objects.​
​
Sets the predefined access control lists (ACLs) for buckets or objects.​
​
Mounts a bucket as a local file system directory.​
Auxiliary commands​
Returns a configuration file's path and updates key configurations of the file.​
​
help​
Returns a command's help information.​
​
Tests upload and download speeds.​
​
Identifies network issues with a single click.​
warning​
This command only works on Linux and macOS.​
​
hash​
Computes hash values for files​
​
fcp​
Copies local files or folders.​
​
Deletes checkpoint files in the specified folder and removes unnecessary files.​
​
Querys the version number.​
​
ping​
Measures network latency.​
​
Calculates the time it takes to establish a network connection.​
​
Traces the path that an Internet Protocol (IP) packet takes to its destination.​
​
curl​
Sends HTTP requests.​
​
Common examples​
The following documents provide examples to help you select the appropriate command.​
Troubleshooting​
The following documents address the most frequently asked questions and exit codes that you may encounter while using tosutil.​
Last updated: 2025.12.17 18:33:42