transfer file to aws s3

file_to_s3(path, s3_bucket, s3_path, content_type = NULL)

Arguments

path

path to local file

s3_bucket

s3 bucket name

s3_path

s3 path in bucket, if it is a path component ending with a slash (`/`) the basename of the input path will be appended

content_type

mime type of the data, default is inferred from file extension

Value

upload result (boolean)