tencent cloud

Feedback

Clearing Incomplete Multipart Uploads - abort

Last updated: 2024-01-06 16:15:35
    The abort command is used to clear the generated incomplete multipart uploads.

    Command Syntax

    ./coscli abort cos://<bucket-name>[/prefix/] [flag]
    abort includes the following parameters:
    Parameter Format
    Description
    Example
    cos://<bucket-name>/<key>
    Specifies the target object in the 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 abort 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
    Note:
    For other common options of this command (such as switching bucket and user account), see Common Options.

    Examples

    Clearing all incomplete multipart uploads in bucket1 bucket

    ./coscli abort cos://bucket1

    Clearing all incomplete multipart uploads in picture folder in bucket1 bucket

    ./coscli abort cos://bucket1/picture/
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support