403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/awscli/examples/s3api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/awscli/examples/s3api/complete-multipart-upload.rst
The following command completes a multipart upload for the key ``multipart/01`` in the bucket ``my-bucket``::

  aws s3api complete-multipart-upload --multipart-upload file://mpustruct --bucket my-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R

The upload ID required by this command is output by ``create-multipart-upload`` and can also be retrieved with ``list-multipart-uploads``.

The multipart upload option in the above command takes a JSON structure that describes the parts of the multipart upload that should be reassembled into the complete file. In this example, the ``file://`` prefix is used to load the JSON structure from a file in the local folder named ``mpustruct``.

mpustruct::

  {
    "Parts": [
      {
        "ETag": "e868e0f4719e394144ef36531ee6824c",
        "PartNumber": 1
      },
      {
        "ETag": "6bb2b12753d66fe86da4998aa33fffb0",
        "PartNumber": 2
      },
      {
        "ETag": "d0a0112e841abec9c9ec83406f0159c8",
        "PartNumber": 3
      }
    ]
  }

The ETag value for each part is upload is output each time you upload a part using the ``upload-part`` command and can also be retrieved by calling ``list-parts`` or calculated by taking the MD5 checksum of each part.

Output::

  {
      "ETag": "\"3944a9f7a4faab7f78788ff6210f63f0-3\"",
      "Bucket": "my-bucket",
      "Location": "https://my-bucket.s3.amazonaws.com/multipart%2F01",
      "Key": "multipart/01"
  }

Youez - 2016 - github.com/yon3zu
LinuXploit