aws.s3 icon indicating copy to clipboard operation
aws.s3 copied to clipboard

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

Open rushikapandya opened this issue 2 years ago • 0 comments

Please specify whether your issue is about:

  • [ ] a question about package functionality
  • [ ] a suggested code or documentation change, improvement to the code, or feature request

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)

rushikapandya avatar May 23 '22 22:05 rushikapandya