Skip to content

zapimoveis/aws-copy-large-files-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy Large Files - AWS S3

Copy large files between buckets (AWS S3) with NodeJS (v8.6.0).

AWS SDK Reference: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html

Based on: https://gist.github.com/joshbedo/47bab20d47c1754626b5

S3 Upload Part Copy

For this function, we used the method s3.uploadPartCopy (if the source object is greater than 5 GB): http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#uploadPartCopy-property

However, if the source object is lesser than 5 GB, the method s3.copyObject can be used: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#copyObject-property

Dependencies

AWS Resources

aws-sdk-js: https://github.com/aws/aws-sdk-js

Logging

winston: https://github.com/winstonjs/winston

Unit Tests

aws-sdk-mock: https://github.com/dwyl/aws-sdk-mock

code: https://github.com/hapijs/code

lab: https://github.com/hapijs/lab

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •