Torch Object Storage
Parameter | Type | Description |
Parameter | Type | Description |
authorization_code | String | The authorization code to be used. |
file://authorization_code_file_url | String | The authorization code path to be used. |
file_url | String | The path for an object to be downloaded. |
folder_url | String | The path for the local folder where downloaded objects will be stored. |
-key | String | The name of the object to be downloaded or the prefix of the objects to be downloaded. |
-dryRun | Bool | Run in test mode without executing any actual downloads. |
-tempFileDir | String | The folder where temporary files generated during multipart downloads are stored. The default location is specified in the configuration file as defaultTempFileDir. tip
|
-u | Bool | This parameter is used for incremental downloads of objects. It compares the source and destination. We recommend using this setting in the following cases:
|
-vchecksum | Bool | Validate data integrity during downloads using the CRC-64 algorithm. |
-flat | Bool | Do not include relative parent directories when downloading objects. |
-j | Integer | The maximum concurrency for batch operations. For example, setting -j=3 means that the maximum concurrency for batch operations is 3. This value is set to 3 by default, which is the defaultJobs value in the configuration file. |
-p | Integer | The maximum concurrency for a multipart task. For example, setting -p=1 means that the maximum concurrency for a multipart task is 1. This value is set to 1 by default, which is the defaultParallels value in the configuration file. |
-threshold | Integer | The limit, in bytes, for a multipart task. This value is set to the defaultBigfileThreshold value in the configuration file by default. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB," and the program will recognize it. |
-ps | Integer/String | The size, in bytes, of each part during a multipart task. This value is set to the defaultPartSize value in the configuration file by default. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB," and the program will recognize it. |
-cpd | String | The folder where checkpoint files are stored. The default location is specified in the configuration file as defaultCheckpointDir. |
-versionId | String | The version ID of an object to be downloaded. |
-include | String | The object matching pattern used to include objects for downloads. You can use the wildcards ? and * and the delimiter "#" in the match expression. |
-exclude | String | The object matching pattern used to exclude objects for downloads. You can use the wildcards ? and * and the delimiter "#" in the match expression. |
-timeRange | String | Sets the time range for the last modified time of objects during downloads, in the format of YYYYMMDDHHmmSS-YYYYMMDDHHmmSS. |
-dmf | Bool | Do not apply the parameters, -include/-exclude and -timeRange, to folders. |
-fr | Bool | Generate a result file when working with a single object. |
-o | String | The folder where result files are stored. The default location is specified in the configuration file as defaultOutputDir. |
-bt | String | The type of the bucket. The options are as follows:
tip If the bucket type is not specified, tosutil will obtain the bucket type from the bucket metadata by default when listing objects. However, it will not recognize the bucket type when listing directories. This may cause the request to fail or return an error. |