cloudyr / aws.s3

Amazon Simple Storage Service (S3) API Client
https://cloud.r-project.org/package=aws.s3
381 stars 147 forks source link

How do I pass arguments to "opts" in s3sync or s3write_using #418

Open rushikapandya opened 2 years ago

rushikapandya commented 2 years ago

Please specify whether your issue is about:

How do I pass arguments to "opts" in s3sync or s3write_using

Currently this is what I use to pass arguments with "opts".

## load package
library("aws.s3")
s3sync(path = "./results", bucket = s3.bucket, direction = "upload", opts = list(multipart = TRUE))

This does upload the files I need to however, when I run this it still says "File size is 85229720. Consider setting 'multipart = TRUE'." So, I want to confirm the right syntax for this. Or does it throw this message even when multipart is set to TRUE? I have also tried opts = list("multipart" = TRUE)