You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

remote_url_to_s3

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote_url_to_s3 - npm Package Compare versions

Comparing version

to
0.0.2

{
"name": "remote_url_to_s3",
"version": "0.0.1",
"version": "0.0.2",
"description": "Stream a file from remote url and upload it to s3 bucket",

@@ -5,0 +5,0 @@ "main": "remote_url_to_s3.js",

@@ -1,2 +0,14 @@

# remote_url_to_s3
Stream a file from remote url and upload it to s3 bucket
# 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 :)