upload: Upload a file to S3 using multipart upload

View source: R/upload.R

uploadR Documentation

Upload a file to S3 using multipart upload

Description

Upload a file to S3 using multipart upload

Usage

upload(client, file, bucket, key)

Arguments

client

A Paws S3 client object, e.g. from s3_svc().

file

The path to the file to be uploaded.

bucket

The name of the S3 bucket to be uploaded to, e.g. my-bucket.

key

The name to assign to the file in the S3 bucket, e.g. path/to/file.


moj-analytical-services/Rs3tools documentation built on Aug. 9, 2024, 1:27 a.m.