remote_url_to_s3
v0.0.3
Published
Stream a file from remote url and upload it to s3 bucket
Downloads
7
Maintainers
Readme
Remote url to s3
Stream a file from remote url and upload it to s3 bucket. Mostly required when scrapping stuff.
Installation
npm install
Usage
- open
remote-url-to-s3.js
- replace
https://remotehost.com/filename.jpg
with the remote file - replace
folder/filename.jpg
with the path where you would like to put the file in s3 - add s3
key
,secret
andbucket
- hit
remote-url-to-s3.js
and it will download from remote url and upload to s3
Feel free to copy the copy and usage it in your projects. No rocket science here :)