SyncfusionExamples / amazon-s3-aspcore-file-provider

This repo contains the ej2-amazon-s3-aspcore-file-provider to access the file system from amazon-s3 to ej-file-manager using asp.net core
15 stars 26 forks source link

912775: Provided Chunk upload support for File Manager component. #34

Closed sivakumars3442 closed 3 weeks ago

sivakumars3442 commented 1 month ago

Description: Need to handle chunk upload in amazon service provider. Solution:

  1. Handled chunk and default upload in amazon service provider. To achieve chunk upload uses the CompleteMultipartUploadAsync, UploadPartAsync and InitiateMultipartUploadAsync methods from the amazon.
  2. Use for partETags: Each part uploaded to S3 gets an ETag. The partETags list keeps track of these ETags along with their corresponding part numbers. When all parts have been uploaded, the CompleteMultipartUploadRequest requires the list of part numbers and their ETags to assemble the final object correctly.
  3. Note: While working with chunk in amazon cloud, each part must be at least 5 MB in size: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html