How does one upload an existing image to AWS S3 using the image's URL (I am using the AWS SDK for Node.js)? I am trying to migrate images from Parse, which I can access the URLs of. I am something set up like this:
let params = {
Key: 'sampleurl.png',
Bucket: Config.get('server.s3.bucket'),
Body: ???, // ?
ACL: 'public-read'
};
s3Client.upload(params, (err, data) => {
if (err) { throw err; }
return data.Location;
});
How would I re-upload, for example, an image at 'http://files.parsetfss.com/something/something.png' to AWS?