tencent cloud

masukan

Listing Incomplete Multipart Uploads - lsparts

Terakhir diperbarui:2024-01-06 16:15:35
    The lsparts command is used to list the generated incomplete multipart uploads.
    Note:
    For more information, see Multipart Upload.

    Command Syntax

    ./coscli lsparts cos://<bucket-name>[/prefix/] [flag]
    lsparts includes the following parameters:
    Parameter Format
    Description
    Example
    cos://<bucket-name>
    Specifies the target bucket, which is accessible by using the bucket alias or bucket name configured in the configuration file as detailed in Download and Installation Configuration. If you use the bucket name for access, you also need to include the endpoint flag.
    Access with the bucket alias: cos://example-alias
    Access with the bucket name: cos://examplebucket-1250000000
    /prefix/
    Specifies a directory (optional).
    /picture/
    The lsparts command contains the following optional flags:
    Flag Abbreviation
    Flag Name
    Description
    -h
    --help
    Views the usage of this command.
    None
    --include
    Includes specific objects.
    None
    --exclude
    Excludes files with a specific pattern
    None
    --limit
    Specifies the maximum quantity (0–1000) to be listed.
    Note:
    For other common options of this command (such as switching bucket and user account), see Common Options.

    Examples

    Listing all incomplete multipart uploads in bucket1 bucket

    ./coscli lsparts cos://bucket1
    The returned information includes the object key (the unique identifier of the object in the bucket), multipart upload ID, multipart upload start time, and total number of incomplete multipart uploads in the bucket. Below is an example:
    KEY | UPLOAD ID | INITIATE TIME
    ---------------+-------------------------------------+----------------------------
    test.txt | 1671191183635d2b71b1d68a0********** | 2022-01-01T00:00:00.000Z
    ---------------+-------------------------------------+----------------------------
    TOTAL: 1
    ----------------------------

    Listing all incomplete multipart uploads in picture folder in bucket1 bucket

    ./coscli lsparts cos://bucket1/picture/
    
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24