SudP
SudP

Reputation: 88

Amazon S3 multipart upload in nodejs using REST API

I'm trying to find some example code that utilizes node.JavaScript, Express. I have gone through the some examples with knox but I did not found the multipart upload.

Can someone point me to a gist or other example that contains this kind of information?

Please help I will look forward for your suggestions.

Thank you.

Upvotes: 2

Views: 4471

Answers (2)

chilts
chilts

Reputation: 451

The AwsSum library can do all of S3's Multipart operations. It's been a part of the library since inception.

The following operations have been implemented, so you should be able to use them to complete your uploads in a number of operations:

  • ListMultipartUploads
  • InitiateMultipartUpload
  • CompleteMultipartUpload
  • AbortMultipartUpload
  • UploadPart
  • UploadPartCopy
  • ListParts

So that's about everything you need. :)

Upvotes: 3

staackuser2
staackuser2

Reputation: 12412

Here is a pull request to the knox repository that implements such functionality. It has not been merged, so it may not work properly. But they have the link to S3's doc about how to implement the multipart upload, if that would help you.

https://github.com/LearnBoost/knox/pull/17

Upvotes: 0

Related Questions