remote_url_to_s3

0.0.3 • Public • Published

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 and bucket
  • 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 :)

Package Sidebar

Install

npm i remote_url_to_s3

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • sarmadsangi