Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks
rushikapandya opened this issue May 23, 2022 · 0 comments
Open
2 tasks

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

rushikapandya opened this issue May 23, 2022 · 0 comments

Comments

@rushikapandya
Copy link

rushikapandya commented May 23, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant