aws.s3
aws.s3 copied to clipboard
How do I pass arguments to "opts" in s3sync or s3write_using
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)