
The AWS SDK provides API for multipart upload of large files to Amazon S3. We upload large images by part using this API. Multi-part API divides the large object into small objects, uploaded it to amazon independently. After the upload completes it assembles into a single object.
If we need the following requirement you can use low-level API :
Change sizes of part during the upload.
Size of the data in unknown in advance.
We need the following procedure to upload files to the amazon bucket.