Fetches an asset (picture for instance) from a remote URL (or a local file) and uploads it to Amazon S3.
npm install fetch-upload-s3
create an aws_config.json file with the following fields. You can put whatever region you like.
You can use different bucket name depending on your environment.
var FUS3 = ;var fus3 = 'my_aws_bucket';// For fetch url :fus3;// for upload File :fus3;
A temp folder './.tmp/fetch_upload_s3' is used as a proxy. Temporary and source files are deleted locally as soon as they have been uploaded to S3